web/PageNav: fix page padding in RTL layout

This commit is contained in:
wukko 2024-11-20 15:34:37 +06:00
parent 45e639a7e1
commit 620bd24243
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -129,6 +129,11 @@
padding-left: var(--subnav-padding);
}
.subnav-page:dir(rtl) {
padding-left: 0;
padding-right: var(--subnav-padding);
}
.subnav-page-content {
display: flex;
flex-direction: column;
@ -211,7 +216,8 @@
}
@media screen and (max-width: 750px) {
.subnav-page {
.subnav-page,
.subnav-page:dir(rtl) {
--subnav-nav-width: 100%;
display: flex;
flex-direction: column;