mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix extra padding in Table small with fixed columns, close #8724
This commit is contained in:
parent
5241497642
commit
1c557f43a8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user