table size padding use @table-padding-vertical & @table-padding-horiz… (#9106)

This commit is contained in:
ryanhoho 2018-01-30 11:05:37 +08:00 committed by Wei Zhu
parent d19fa740c7
commit b93e33c535

View File

@ -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;