fix: BackTop responsive in RTL

pull/5820/head
tangjinzhou 2022-05-10 15:41:07 +08:00
parent a8dbea7c32
commit 894a5b955c
1 changed files with 10 additions and 0 deletions

View File

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