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 {