mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
table size padding use @table-padding-vertical & @table-padding-horiz… (#9106)
This commit is contained in:
parent
d19fa740c7
commit
b93e33c535
@ -1,7 +1,7 @@
|
||||
.@{table-prefix-cls}-middle {
|
||||
> .@{table-prefix-cls}-title,
|
||||
> .@{table-prefix-cls}-footer {
|
||||
padding: 12px 8px;
|
||||
padding: @table-padding-vertical*2/3 @table-padding-horizontal/2;
|
||||
}
|
||||
> .@{table-prefix-cls}-content {
|
||||
> .@{table-prefix-cls}-header > table,
|
||||
@ -14,7 +14,7 @@
|
||||
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table {
|
||||
> .@{table-prefix-cls}-thead > tr > th,
|
||||
> .@{table-prefix-cls}-tbody > tr > td {
|
||||
padding: 12px 8px;
|
||||
padding: @table-padding-vertical*2/3 @table-padding-horizontal/2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
> .@{table-prefix-cls}-title,
|
||||
> .@{table-prefix-cls}-footer {
|
||||
padding: 8px;
|
||||
padding: @table-padding-vertical/2 @table-padding-horizontal/2;
|
||||
}
|
||||
|
||||
> .@{table-prefix-cls}-title {
|
||||
@ -44,10 +44,10 @@
|
||||
> .@{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 {
|
||||
border: 0;
|
||||
padding: 0 8px;
|
||||
padding: 0 @table-padding-horizontal/2;
|
||||
> .@{table-prefix-cls}-thead > tr > th,
|
||||
> .@{table-prefix-cls}-tbody > tr > td {
|
||||
padding: 8px;
|
||||
padding: @table-padding-vertical/2 @table-padding-horizontal/2;
|
||||
}
|
||||
> .@{table-prefix-cls}-thead > tr > th {
|
||||
background: @component-background;
|
||||
|
Loading…
Reference in New Issue
Block a user