fix: BackTop responsive in RTL (#34626)

This commit is contained in:
Hamed Mohammadzadeh 2022-03-21 18:42:34 +03:30 committed by GitHub
parent 4debb88f24
commit 0a90ac34c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,21 @@
@media screen and (max-width: @screen-md) { @media screen and (max-width: @screen-md) {
.@{backtop-prefix-cls} { .@{backtop-prefix-cls} {
right: 60px; right: 60px;
&-rtl {
right: auto;
left: 60px;
}
} }
} }
@media screen and (max-width: @screen-xs) { @media screen and (max-width: @screen-xs) {
.@{backtop-prefix-cls} { .@{backtop-prefix-cls} {
right: 20px; right: 20px;
&-rtl {
right: auto;
left: 20px;
}
} }
} }