Commit d9b58e46aee48a6f26ae009c1efd74f47e77697e

Authored by vben
1 parent 116a1f77

style(layout): update layout style #149

src/components/Table/src/components/TableAction.vue
... ... @@ -49,13 +49,13 @@
49 49 return props.actions.map((action) => {
50 50 const { popConfirm } = action;
51 51 return {
  52 + type: 'link',
  53 + size: 'small',
52 54 ...action,
53 55 ...(popConfirm || {}),
54 56 onConfirm: popConfirm?.confirm,
55 57 onCancel: popConfirm?.cancel,
56 58 enable: !!popConfirm,
57   - type: 'link',
58   - size: 'small',
59 59 };
60 60 });
61 61 });
... ...
src/layouts/default/header/index.less
... ... @@ -135,6 +135,7 @@
135 135 &--light {
136 136 background: @white;
137 137 border-bottom: 1px solid @header-light-bottom-border-color;
  138 + border-left: 1px solid @header-light-bottom-border-color;
138 139  
139 140 .@{header-prefix-cls}-logo {
140 141 color: @text-color-base;
... ...
src/layouts/default/index.vue
... ... @@ -83,9 +83,5 @@
83 83 > .ant-layout {
84 84 min-height: 100%;
85 85 }
86   -
87   - &__main {
88   - margin-left: 1px;
89   - }
90 86 }
91 87 </style>
... ...