mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
chore: Narrow selection width (#28073)
* chore: Narrow selection width * chore: Adjust rtl style
This commit is contained in:
parent
e063a3a139
commit
2b22743a9a
@ -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
|
||||
// ---
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -120,13 +120,6 @@
|
||||
.@{table-wrapepr-rtl-cls} & {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-extra {
|
||||
.@{table-wrapepr-rtl-cls} & {
|
||||
right: auto;
|
||||
left: @table-selection-extra-right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ========================== Expandable ==========================
|
||||
|
Loading…
Reference in New Issue
Block a user