Fix extra padding in Table small with fixed columns, close #8724

This commit is contained in:
afc163 2017-12-27 12:20:04 +08:00
parent 5241497642
commit 1c557f43a8

View File

@ -55,6 +55,15 @@
}
}
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table,
> .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table,
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table {
padding: 0;
}
.@{table-prefix-cls}-header {
background: @component-background;
}
@ -68,14 +77,6 @@
&.@{table-prefix-cls}-bordered {
border-right: 0;
.@{table-prefix-cls}-header > table,
.@{table-prefix-cls}-body > table,
.@{table-prefix-cls}-fixed-left table,
.@{table-prefix-cls}-fixed-right table {
border: 0;
padding: 0;
}
.@{table-prefix-cls}-title {
border: 0;
border-bottom: @border-width-base @border-style-base @border-color-split;