mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-31 03:46:28 +08:00
Tweak Table style
1. Fix expand cell width to 50px; 2. Fix select all cell width in different size.
This commit is contained in:
parent
24f9c24f48
commit
5b1a4dabaf
@ -144,11 +144,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-thead > tr > th.@{table-prefix-cls}-selection-column,
|
&-thead > tr > th.@{table-prefix-cls}-selection-column,
|
||||||
&-tbody > tr > td.@{table-prefix-cls}-selection-column,
|
&-tbody > tr > td.@{table-prefix-cls}-selection-column {
|
||||||
|
text-align: center;
|
||||||
|
width: 62px;
|
||||||
|
}
|
||||||
|
|
||||||
&-expand-icon-th,
|
&-expand-icon-th,
|
||||||
&-row-expand-icon-cell {
|
&-row-expand-icon-cell {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 62px;
|
width: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-header {
|
&-header {
|
||||||
@ -183,7 +187,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-middle {
|
&-middle {
|
||||||
.@{table-prefix-cls}-thead > tr > th,
|
.@{table-prefix-cls}-thead > tr > th:not(.@{table-prefix-cls}-selection-column),
|
||||||
.@{table-prefix-cls}-tbody > tr > td {
|
.@{table-prefix-cls}-tbody > tr > td {
|
||||||
padding: 10px 8px;
|
padding: 10px 8px;
|
||||||
}
|
}
|
||||||
@ -215,7 +219,7 @@
|
|||||||
|
|
||||||
.@{table-prefix-cls}-title,
|
.@{table-prefix-cls}-title,
|
||||||
.@{table-prefix-cls}-footer,
|
.@{table-prefix-cls}-footer,
|
||||||
.@{table-prefix-cls}-thead > tr > th {
|
.@{table-prefix-cls}-thead > tr > th:not(.@{table-prefix-cls}-selection-column) {
|
||||||
padding: 10px 8px;
|
padding: 10px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -482,9 +486,6 @@
|
|||||||
border: @border-width-base @border-style-base @border-color-split;
|
border: @border-width-base @border-style-base @border-color-split;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
background: @component-background;
|
background: @component-background;
|
||||||
&-cell {
|
|
||||||
width: 18px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&-expanded:after {
|
&-expanded:after {
|
||||||
|
Loading…
Reference in New Issue
Block a user