Skip to content

Commit

Permalink
Merge pull request #142 from rsksmart/hotfix
Browse files Browse the repository at this point in the history
Fix sidebar navigation scroll
  • Loading branch information
owans authored Nov 5, 2024
2 parents 4cf8012 + 2c17510 commit dc85424
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 dc85424

Please sign in to comment.