Parcourir la source

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

陈帅 il y a 5 ans
Parent
commit
371b7f2a72
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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;
     }