mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 02:26:10 +00:00
web/PageNav: fix page padding in RTL layout
This commit is contained in:
parent
45e639a7e1
commit
620bd24243
|
@ -129,6 +129,11 @@
|
||||||
padding-left: var(--subnav-padding);
|
padding-left: var(--subnav-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subnav-page:dir(rtl) {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: var(--subnav-padding);
|
||||||
|
}
|
||||||
|
|
||||||
.subnav-page-content {
|
.subnav-page-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -211,7 +216,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 750px) {
|
@media screen and (max-width: 750px) {
|
||||||
.subnav-page {
|
.subnav-page,
|
||||||
|
.subnav-page:dir(rtl) {
|
||||||
--subnav-nav-width: 100%;
|
--subnav-nav-width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
Loading…
Reference in a new issue