Browse Source

perf: optimize tabs dropdown-menu style

chenli1989 3 năm trước cách đây
mục cha
commit
de266e538d
1 tập tin đã thay đổi với 19 bổ sung0 xóa
  1. 19 0
      src/layouts/default/tabs/index.less

+ 19 - 0
src/layouts/default/tabs/index.less

@@ -181,6 +181,25 @@ html[data-theme='light'] {
   }
 }
 
+.ant-tabs-dropdown-menu {
+  &-title-content {
+    display: flex;
+    align-items: center;
+
+    .@{prefix-cls} {
+      &-content__info {
+        width: auto;
+        margin-left: 0;
+        line-height: 28px;
+      }
+    }
+  }
+
+  &-item-remove {
+    margin-left: auto;
+  }
+}
+
 .multiple-tabs__dropdown {
   .ant-dropdown-content {
     width: 172px;