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