Skip to content

Commit

Permalink
Fix sidebar navigation scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcss committed Nov 5, 2024
1 parent d2b1d35 commit 91c7562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scss/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
top: var(--rsk-navbar-height);
}
.menu{
padding: 48px 24px 0 0;
padding: 48px 24px 20px 0;
}
}
.menu__list-item-collapsible{
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocRoot/Layout/Sidebar/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
top: 0;
position: sticky;
height: 100%;
max-height: 100vh;
max-height: calc(100vh - var(--rsk-navbar-height,0vh));
}
}

0 comments on commit 91c7562

Please sign in to comment.