Skip to content

Commit

Permalink
Change collapsed icon in menu for RTL pages (alex-shpak#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhdix authored Jun 21, 2021
1 parent 379e311 commit 0d2ed55
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion assets/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
margin-bottom: $padding-16 * 2;

Expand Down Expand Up @@ -381,7 +392,7 @@ ul.pagination {
}
}

//for RTL support
// for RTL support
body[dir="rtl"] #menu-control:checked ~ main {
.book-menu .book-menu-content {
transform: translateX(-$menu-width);
Expand Down

0 comments on commit 0d2ed55

Please sign in to comment.