From 1679154601d16a3f2af0e9ffc66a7608234d11ef Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 23 Oct 2017 21:18:51 +0800 Subject: [PATCH] bold active tabs --- src/components/NoticeIcon/index.less | 3 --- src/index.less | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/NoticeIcon/index.less b/src/components/NoticeIcon/index.less index f23a43f4..9a93365f 100644 --- a/src/components/NoticeIcon/index.less +++ b/src/components/NoticeIcon/index.less @@ -20,9 +20,6 @@ .tabs { :global { - .ant-tabs-tab-active { - font-weight: 500; - } .ant-tabs-nav-scroll { text-align: center; } diff --git a/src/index.less b/src/index.less index 5da336e8..53c89c90 100644 --- a/src/index.less +++ b/src/index.less @@ -9,3 +9,9 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } + +:global { + .ant-tabs-tab-active { + font-weight: 500; + } +} -- GitLab