From af6e73b83fd0dc58993802c013f0660b600e5939 Mon Sep 17 00:00:00 2001 From: xachary <179740385@qq.com> Date: Thu, 14 Dec 2023 09:27:48 +0800 Subject: [PATCH] style: tabs bottom double line fix (#3415) --- src/layouts/default/tabs/index.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index ac9463e10..e53c39769 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -5,6 +5,7 @@ html[data-theme='light'] { .@{prefix-cls} { .ant-tabs-tab:not(.ant-tabs-tab-active) { border: 1px solid #d9d9d9 !important; + border-bottom-color: #f0f0f0 !important; } } } @@ -41,7 +42,7 @@ html[data-theme='light'] { .ant-tabs.ant-tabs-card { .ant-tabs-nav { - height: @multiple-height; + height: @multiple-height + 2; margin: 0; padding-top: 2px; border: 0; @@ -54,12 +55,12 @@ html[data-theme='light'] { } .ant-tabs-tab { - height: calc(@multiple-height - 2px); + height: calc(@multiple-height); padding-right: 12px; transition: none; background-color: @component-background; color: @text-color-base; - line-height: calc(@multiple-height - 2px); + line-height: calc(@multiple-height); &:hover { .ant-tabs-tab-remove {