mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +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-horizontal-md: 8px;
|
||||||
@table-padding-vertical-sm: 4px;
|
@table-padding-vertical-sm: 4px;
|
||||||
@table-padding-horizontal-sm: 4px;
|
@table-padding-horizontal-sm: 4px;
|
||||||
@table-selection-column-width: 54px;
|
@table-selection-column-width: 32px;
|
||||||
|
|
||||||
// Statistic
|
// Statistic
|
||||||
// ---
|
// ---
|
||||||
|
@ -612,8 +612,7 @@
|
|||||||
@table-filter-btns-bg: inherit;
|
@table-filter-btns-bg: inherit;
|
||||||
@table-filter-dropdown-bg: @component-background;
|
@table-filter-dropdown-bg: @component-background;
|
||||||
@table-expand-icon-bg: @component-background;
|
@table-expand-icon-bg: @component-background;
|
||||||
@table-selection-column-width: 60px;
|
@table-selection-column-width: 32px;
|
||||||
@table-selection-extra-right: 0;
|
|
||||||
// Sticky
|
// Sticky
|
||||||
@table-sticky-scroll-bar-bg: fade(#000, 35%);
|
@table-sticky-scroll-bar-bg: fade(#000, 35%);
|
||||||
@table-sticky-scroll-bar-radius: 4px;
|
@table-sticky-scroll-bar-radius: 4px;
|
||||||
|
@ -373,12 +373,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-selection {
|
&-selection {
|
||||||
position: relative;
|
display: flex;
|
||||||
|
|
||||||
&-extra {
|
&-extra {
|
||||||
position: absolute;
|
margin-inline-start: @margin-xss;
|
||||||
top: 0;
|
|
||||||
right: @table-selection-extra-right;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
|
|
||||||
|
@ -120,13 +120,6 @@
|
|||||||
.@{table-wrapepr-rtl-cls} & {
|
.@{table-wrapepr-rtl-cls} & {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-extra {
|
|
||||||
.@{table-wrapepr-rtl-cls} & {
|
|
||||||
right: auto;
|
|
||||||
left: @table-selection-extra-right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========================== Expandable ==========================
|
// ========================== Expandable ==========================
|
||||||
|
Loading…
Reference in New Issue
Block a user