Browse Source

Tweak Table style

1. Fix expand cell width to 50px;
2. Fix select all cell width in different size.
pull/4433/merge
Wei Zhu 8 years ago
parent
commit
5b1a4dabaf
  1. 15
      components/table/style/index.less

15
components/table/style/index.less

@ -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…
Cancel
Save