Skip to content

Commit

Permalink
fix: Set toc-backdrop z-index to 9, restore toc to 10
Browse files Browse the repository at this point in the history
This gives the right layering effects on smalls screens.
  • Loading branch information
david-christiansen committed Jan 30, 2025
1 parent e89e49f commit c128515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verso-manual/VersoManual/Html/Style.lean
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pre, code {
.with-toc #toc {
position: fixed;
z-index: 9;
z-index: 10;
}
/** Non-mobile **/
Expand Down Expand Up @@ -144,7 +144,7 @@ pre, code {
display: block;
}
body:has(#toggle-toc:checked) .toc-backdrop {
position: fixed; inset: 0; background-color: #aaa8; z-index: 1;
position: fixed; inset: 0; background-color: #aaa8; z-index: 9;
}
html:has(#toggle-toc:checked) {
overflow: hidden;
Expand Down

0 comments on commit c128515

Please sign in to comment.