Change collapsed icon in menu for RTL pages (#354)

This commit is contained in:
xhdix 2021-06-21 21:18:14 +03:00 committed by GitHub
parent 379e311d7e
commit 0d2ed5586e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,17 @@ ul.pagination {
} }
} }
// for RTL support
body[dir="rtl"] .book-menu {
input.toggle + label::after {
content: "";
}
input.toggle:checked + label::after {
content: "";
}
}
.book-section-flat { .book-section-flat {
margin-bottom: $padding-16 * 2; margin-bottom: $padding-16 * 2;
@ -381,7 +392,7 @@ ul.pagination {
} }
} }
//for RTL support // for RTL support
body[dir="rtl"] #menu-control:checked ~ main { body[dir="rtl"] #menu-control:checked ~ main {
.book-menu .book-menu-content { .book-menu .book-menu-content {
transform: translateX(-$menu-width); transform: translateX(-$menu-width);