Skip to content

Commit

Permalink
fix: ensure correct overlay order of content, toc and side panel
Browse files Browse the repository at this point in the history
  • Loading branch information
SilvanVerhoeven committed Jul 30, 2024
1 parent 324c882 commit 59fe1b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions myhpi/static/scss/myHPI.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ p {

.side-panel-container {
position: sticky;
z-index: 30;
top: 6rem;
}

Expand Down Expand Up @@ -285,6 +286,7 @@ img {

#sidebar-toggle {
position: sticky;
z-index: 20;
transition: all 0.3s ease; // Equal to .xl-hide-on-scroll
top: calc(1rem + var(--myhpi-navbar-visible-height));
}
Expand Down Expand Up @@ -383,6 +385,7 @@ img {
@media (pointer: coarse), (hover: none) {
[title] {
position: relative;
z-index: 10;
display: inline-flex;
justify-content: center;
}
Expand Down

0 comments on commit 59fe1b9

Please sign in to comment.