chore: Narrow selection width (#28073)

* chore: Narrow selection width

* chore: Adjust rtl style
This commit is contained in:
二货机器人 2020-11-30 16:14:44 +08:00 committed by GitHub
parent e063a3a139
commit 2b22743a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 14 deletions

View File

@ -221,7 +221,7 @@
@table-padding-horizontal-md: 8px;
@table-padding-vertical-sm: 4px;
@table-padding-horizontal-sm: 4px;
@table-selection-column-width: 54px;
@table-selection-column-width: 32px;
// Statistic
// ---

View File

@ -612,8 +612,7 @@
@table-filter-btns-bg: inherit;
@table-filter-dropdown-bg: @component-background;
@table-expand-icon-bg: @component-background;
@table-selection-column-width: 60px;
@table-selection-extra-right: 0;
@table-selection-column-width: 32px;
// Sticky
@table-sticky-scroll-bar-bg: fade(#000, 35%);
@table-sticky-scroll-bar-radius: 4px;

View File

@ -373,12 +373,10 @@
}
&-selection {
position: relative;
display: flex;
&-extra {
position: absolute;
top: 0;
right: @table-selection-extra-right;
margin-inline-start: @margin-xss;
cursor: pointer;
transition: all 0.3s;

View File

@ -120,13 +120,6 @@
.@{table-wrapepr-rtl-cls} & {
text-align: center;
}
&-extra {
.@{table-wrapepr-rtl-cls} & {
right: auto;
left: @table-selection-extra-right;
}
}
}
// ========================== Expandable ==========================