style(layout): update layout style #149

This commit is contained in:
vben
2020-12-31 00:20:41 +08:00
parent 116a1f7745
commit d9b58e46ae
3 changed files with 3 additions and 6 deletions

View File

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

View File

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

View File

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