Explorar el Código

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

陈帅 hace 5 años
padre
commit
371b7f2a72
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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;
     }