style: optimized Table action position in rtl (#32283)

This commit is contained in:
xrkffgg 2021-09-24 16:53:13 +08:00 committed by GitHub
parent f0d9abb0ff
commit 8d407f90dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,13 @@
}
}
&:not(:last-child):not(.@{table-prefix-cls}-selection-column):not(.@{table-prefix-cls}-row-expand-icon-cell):not([colspan])::before {
.@{table-wrapepr-rtl-cls} & {
right: auto;
left: 0;
}
}
.@{table-wrapepr-rtl-cls} & {
text-align: right;
}
@ -73,7 +80,7 @@
// ============================ Sorter ============================
&-column-sorter {
.@{table-wrapepr-rtl-cls} & {
margin-right: @padding-xs;
margin-right: 4px;
margin-left: 0;
}
}
@ -93,10 +100,9 @@
}
}
&-filter-trigger-container {
&-filter-trigger {
.@{table-wrapepr-rtl-cls} & {
right: auto;
left: 0;
margin: -4px 4px -4px (-@table-padding-horizontal / 2);
}
}