Skip to content

Commit

Permalink
fix: sidebar sometimes being occluded
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Rudloff <[email protected]>
  • Loading branch information
Philipp Rudloff committed Nov 7, 2023
1 parent e58f911 commit 3d4ec22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/_assets/styles/custom/components/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ a.sidebar-link {

// Responsive

@media (min-width: $MQNarrowMid + 1) {
@media (min-width: ($MQNarrowMid + 1)) {
.sidebar {
position: sticky;
top: $navbarHeight;
top: 0;
padding-top: $navbarHeight;
bottom: 0;
height: calc(100vh - #{$navbarHeight});
}
Expand Down

0 comments on commit 3d4ec22

Please sign in to comment.