Tweak Table style

1. Fix expand cell width to 50px;
2. Fix select all cell width in different size.
This commit is contained in:
Wei Zhu 2017-03-06 18:10:54 +08:00
parent 24f9c24f48
commit 5b1a4dabaf

View File

@ -144,11 +144,15 @@
}
&-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,
&-row-expand-icon-cell {
text-align: center;
width: 62px;
width: 50px;
}
&-header {
@ -183,7 +187,7 @@
}
&-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 {
padding: 10px 8px;
}
@ -215,7 +219,7 @@
.@{table-prefix-cls}-title,
.@{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;
}
@ -482,9 +486,6 @@
border: @border-width-base @border-style-base @border-color-split;
user-select: none;
background: @component-background;
&-cell {
width: 18px;
}
}
&-expanded:after {