From a48aadab6784c670ca3a1cb1c4f0994a0559486c Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 7 Feb 2024 10:36:31 +0300 Subject: [PATCH] fix(kit): add `line-height` for `[tuiTab]` --- projects/kit/components/tabs/tab/tab.style.less | 1 + .../kit/components/tabs/tabs-with-more/tabs-with-more.style.less | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/kit/components/tabs/tab/tab.style.less b/projects/kit/components/tabs/tab/tab.style.less index ba2e30e63b5b..5a1173354c04 100644 --- a/projects/kit/components/tabs/tab/tab.style.less +++ b/projects/kit/components/tabs/tab/tab.style.less @@ -20,6 +20,7 @@ height: 100%; box-sizing: border-box; justify-content: space-between; + line-height: 1.5rem; align-items: center; white-space: nowrap; cursor: pointer; diff --git a/projects/kit/components/tabs/tabs-with-more/tabs-with-more.style.less b/projects/kit/components/tabs/tabs-with-more/tabs-with-more.style.less index de6bda8fb446..317cf9e52455 100644 --- a/projects/kit/components/tabs/tabs-with-more/tabs-with-more.style.less +++ b/projects/kit/components/tabs/tabs-with-more/tabs-with-more.style.less @@ -63,6 +63,7 @@ justify-content: flex-start; margin: 0.125rem 0.375rem; padding: 0 0.625rem; + line-height: 1.5rem; border-radius: var(--tui-radius-s); font: var(--tui-font-text-m); color: var(--tui-text-01);