fix: BackTop responsive in RTL
parent
a8dbea7c32
commit
894a5b955c
|
@ -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