From b220a178298261803bca83c07f6d500969427204 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sat, 8 Nov 2025 23:51:20 +0800 Subject: [PATCH] fix label --- styles/components/dashboard.ts | 2 +- styles/public/label.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/components/dashboard.ts b/styles/components/dashboard.ts index a77a598..02cb117 100644 --- a/styles/components/dashboard.ts +++ b/styles/components/dashboard.ts @@ -41,7 +41,6 @@ export const dashboard = css` margin-bottom: 0.25rem; .ui.label { border-color: #00000000; - line-height: 22px; } } // 仓库/组织列表 @@ -55,6 +54,7 @@ export const dashboard = css` > .menu.repos-filter { .ui.circular.label { border-color: #00000000; + min-height: fit-content; padding: ${labelStyle.padding} !important; } } diff --git a/styles/public/label.ts b/styles/public/label.ts index b950ad3..826202f 100644 --- a/styles/public/label.ts +++ b/styles/public/label.ts @@ -18,8 +18,8 @@ export const label = css` border-radius: 9999px; ${labelStyle} line-height: 18px; - &.large { - line-height: 22px; + &.mini { + line-height: 16px; } // 多个标签的组合标签的圆角修复 &.scope-parent {