Преглед на файлове

style(layout): update layout style #149

vben преди 4 години
родител
ревизия
d9b58e46ae
променени са 3 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 2 2
      src/components/Table/src/components/TableAction.vue
  2. 1 0
      src/layouts/default/header/index.less
  3. 0 4
      src/layouts/default/index.vue

+ 2 - 2
src/components/Table/src/components/TableAction.vue

@@ -49,13 +49,13 @@
         return props.actions.map((action) => {
           const { popConfirm } = action;
           return {
+            type: 'link',
+            size: 'small',
             ...action,
             ...(popConfirm || {}),
             onConfirm: popConfirm?.confirm,
             onCancel: popConfirm?.cancel,
             enable: !!popConfirm,
-            type: 'link',
-            size: 'small',
           };
         });
       });

+ 1 - 0
src/layouts/default/header/index.less

@@ -135,6 +135,7 @@
   &--light {
     background: @white;
     border-bottom: 1px solid @header-light-bottom-border-color;
+    border-left: 1px solid @header-light-bottom-border-color;
 
     .@{header-prefix-cls}-logo {
       color: @text-color-base;

+ 0 - 4
src/layouts/default/index.vue

@@ -83,9 +83,5 @@
     > .ant-layout {
       min-height: 100%;
     }
-
-    &__main {
-      margin-left: 1px;
-    }
   }
 </style>