Skip to content

Commit

Permalink
Fix mobile contents overlay with z-index
Browse files Browse the repository at this point in the history
With the CSS grid change this was broken, likely because of content
order. The higher z-index ensures that the contents overlay appears over
the content.
  • Loading branch information
jonathansick committed Jun 20, 2024
1 parent 29c5a01 commit bab185b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/styles/base/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ body {
height 0s;

&.technote-outline-container--visible {
height: 100%;
opacity: 0.98;
visibility: visible;
backdrop-filter: blur(10px);
padding: 1em;
z-index: 10;

display: flex;
align-items: center; /* Vertically centers the content */
Expand Down

0 comments on commit bab185b

Please sign in to comment.