style(layout): update layout style #149
| | |
| | | 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', |
| | | }; |
| | | }); |
| | | }); |
| | |
| | | &--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; |
| | |
| | | > .ant-layout { |
| | | min-height: 100%; |
| | | } |
| | | |
| | | &__main { |
| | | margin-left: 1px; |
| | | } |
| | | } |
| | | </style> |