mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
Fix table title/footer/size style, close #8577
This commit is contained in:
parent
cd5761ffe6
commit
0eac8aa1c6
@ -1,27 +1,40 @@
|
||||
.@{table-prefix-cls}-middle {
|
||||
> .@{table-prefix-cls}-title,
|
||||
> .@{table-prefix-cls}-footer {
|
||||
padding: 12px 8px;
|
||||
}
|
||||
> .@{table-prefix-cls}-content {
|
||||
> .@{table-prefix-cls}-header > table,
|
||||
> .@{table-prefix-cls}-body > table {
|
||||
> .@{table-prefix-cls}-body > table,
|
||||
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
|
||||
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table {
|
||||
> .@{table-prefix-cls}-thead > tr > th,
|
||||
> .@{table-prefix-cls}-tbody > tr > td {
|
||||
padding: 12px 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-title,
|
||||
.@{table-prefix-cls}-footer {
|
||||
padding: 12px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-small {
|
||||
border: @border-width-base @border-style-base @border-color-split;
|
||||
border-radius: @border-radius-base;
|
||||
|
||||
> .@{table-prefix-cls}-title,
|
||||
> .@{table-prefix-cls}-footer {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
> .@{table-prefix-cls}-title {
|
||||
border-bottom: @border-width-base @border-style-base @border-color-split;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
> .@{table-prefix-cls}-content {
|
||||
> .@{table-prefix-cls}-header > table,
|
||||
> .@{table-prefix-cls}-body > table {
|
||||
> .@{table-prefix-cls}-body > table,
|
||||
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
|
||||
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table {
|
||||
border: 0;
|
||||
padding: 0 8px;
|
||||
> .@{table-prefix-cls}-thead > tr > th,
|
||||
@ -34,16 +47,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-title,
|
||||
.@{table-prefix-cls}-footer {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-title {
|
||||
border-bottom: @border-width-base @border-style-base @border-color-split;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-header {
|
||||
background: @component-background;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user