style: optimize table filter dropdown rtl style (#24529)

This commit is contained in:
xrkffgg 2020-05-28 12:11:31 +08:00 committed by GitHub
parent 3712832a03
commit 9fcd20c6cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,11 @@
}
&-menu {
&-rtl {
direction: rtl;
text-align: right;
}
&-item-group-title {
.@{dropdown-prefix-cls}-rtl & {
direction: rtl;

View File

@ -109,7 +109,8 @@
&,
&-submenu {
.@{ant-prefix}-checkbox-wrapper + span {
.@{ant-prefix}-dropdown-rtl & {
.@{ant-prefix}-dropdown-rtl &,
.@{ant-prefix}-dropdown-menu-submenu-rtl& {
padding-right: 8px;
padding-left: 0;
}