From 017708fc6f09bdd28f3f4ebba5ecbab1b8c88a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Wed, 9 Jun 2021 09:05:13 +0200 Subject: [PATCH] Fix tag position for repos with fav star (#1691) Fixes the position of repository tags (like 'archived') when the extension point 'repository.afterTitle' is bound (for example in the landing page plugin with the fav star). --- gradle/changelog/repository_tag_position.yaml | 2 ++ scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 gradle/changelog/repository_tag_position.yaml diff --git a/gradle/changelog/repository_tag_position.yaml b/gradle/changelog/repository_tag_position.yaml new file mode 100644 index 0000000000..f682ea7d35 --- /dev/null +++ b/gradle/changelog/repository_tag_position.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Tag position for repository ([#1691](https://github.com/scm-manager/scm-manager/pull/1691)) diff --git a/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx b/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx index 18cadad2a9..82ddf72928 100644 --- a/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx +++ b/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx @@ -61,7 +61,7 @@ import TagRoot from "../tags/container/TagRoot"; import { useIndexLinks, useRepository } from "@scm-manager/ui-api"; import styled from "styled-components"; -const TagGroup = styled.div` +const TagGroup = styled.span` font-weight: bold; & > * { margin-right: 0.25rem;