From 371b7f2a727c87ef989ae3fa8eac92fcd3ac9957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Sat, 13 Jun 2020 23:33:09 +0800 Subject: [PATCH] bugfix: fix tabs no center style error (#6830) --- src/components/NoticeIcon/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/NoticeIcon/index.less b/src/components/NoticeIcon/index.less index 650ccd2d..45251cdd 100644 --- a/src/components/NoticeIcon/index.less +++ b/src/components/NoticeIcon/index.less @@ -21,6 +21,10 @@ .tabs { :global { + .ant-tabs-nav-list { + margin: auto; + } + .ant-tabs-nav-scroll { text-align: center; }