Skip to content

Commit

Permalink
fix: BackTop responsive in RTL (ant-design#34626)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmz22 committed Mar 21, 2022
1 parent 4debb88 commit 0a90ac3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/back-top/style/responsive.less
@@ -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;
}
}
}

0 comments on commit 0a90ac3

Please sign in to comment.