Forráskód Böngészése

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

陈帅 5 éve
szülő
commit
371b7f2a72
1 módosított fájl, 4 hozzáadás és 0 törlés
  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;
     }