浏览代码

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

陈帅 5 年之前
父节点
当前提交
371b7f2a72
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/components/NoticeIcon/index.less

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

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