mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
fix: BackTop responsive in RTL (#34626)
This commit is contained in:
parent
4debb88f24
commit
0a90ac34c7
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user