From 7d1f0956d671e9b2a032270f61e12fe7c02b327a Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 18 Aug 2025 12:45:54 +0100 Subject: [PATCH] feat(ui): refine Tag and line-height for labels --- pkgs/clan-app/ui/src/components/Tag/Tag.css | 2 +- .../ui/src/components/Typography/Typography.css | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/clan-app/ui/src/components/Tag/Tag.css b/pkgs/clan-app/ui/src/components/Tag/Tag.css index 8c7d2c51c..d34014854 100644 --- a/pkgs/clan-app/ui/src/components/Tag/Tag.css +++ b/pkgs/clan-app/ui/src/components/Tag/Tag.css @@ -1,5 +1,5 @@ span.tag { - @apply flex items-center gap-1 w-fit px-2 py-1 rounded-full; + @apply flex items-center gap-1 w-fit px-2 py-[0.1875rem] rounded-full; @apply bg-def-4; &:focus-visible { diff --git a/pkgs/clan-app/ui/src/components/Typography/Typography.css b/pkgs/clan-app/ui/src/components/Typography/Typography.css index 5aa776be2..6ff7e88c0 100644 --- a/pkgs/clan-app/ui/src/components/Typography/Typography.css +++ b/pkgs/clan-app/ui/src/components/Typography/Typography.css @@ -56,19 +56,19 @@ &.size-default { font-size: 1rem; - line-height: 1; + line-height: normal; letter-spacing: 0.02rem; } &.size-s { font-size: 0.875rem; - line-height: 1; + line-height: normal; letter-spacing: 0.0175rem; } &.size-xs { font-size: 0.8125rem; - line-height: 1; + line-height: normal; letter-spacing: 0.008125rem; } } @@ -78,19 +78,19 @@ &.size-default { font-size: 1rem; - line-height: 1; + line-height: normal; letter-spacing: normal; } &.size-s { font-size: 0.875rem; - line-height: 1; + line-height: normal; letter-spacing: normal; } &.size-xs { font-size: 0.8125rem; - line-height: 1; + line-height: normal; letter-spacing: normal; } }