소스 검색

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 {
   :global {
+    .ant-tabs-nav-list {
+      margin: auto;
+    }
+
     .ant-tabs-nav-scroll {
       text-align: center;
     }