From d01e7f5529789dfc9092a2dc71244be7b562007f Mon Sep 17 00:00:00 2001 From: shuai Date: Fri, 18 Nov 2022 18:42:06 +0800 Subject: [PATCH] fix: tag selector component style adjustment --- ui/src/components/TagSelector/index.tsx | 7 +------ ui/src/index.scss | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/src/components/TagSelector/index.tsx b/ui/src/components/TagSelector/index.tsx index 3597a6a7..c1646fa3 100644 --- a/ui/src/components/TagSelector/index.tsx +++ b/ui/src/components/TagSelector/index.tsx @@ -229,12 +229,7 @@ const TagSelector: FC = ({ {showRequiredTagText && tags && tags.filter((v) => v.recommend)?.length > 0 && ( - - {t('tag_required_text')} - +
{t('tag_required_text')}
)} {tags?.map((item, index) => { diff --git a/ui/src/index.scss b/ui/src/index.scss index a767e0a0..105b5b7c 100644 --- a/ui/src/index.scss +++ b/ui/src/index.scss @@ -66,7 +66,7 @@ a { display: inline-block; font-size: 14px; background: rgba($blue-100, 0.5); - padding: 1px 7px; + padding: 0px 7px 1px; color: $blue-700; border: 1px solid transparent; &:hover {