Pārlūkot izejas kodu

bugfix: fix tabs no center style error (#6830)

陈帅 6 gadi atpakaļ
vecāks
revīzija
371b7f2a72
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      src/components/NoticeIcon/index.less

+ 4 - 0
src/components/NoticeIcon/index.less

@@ -21,6 +21,10 @@
 
 .tabs {
   :global {
+    .ant-tabs-nav-list {
+      margin: auto;
+    }
+
     .ant-tabs-nav-scroll {
       text-align: center;
     }