Skip to content

Commit

Permalink
Handle scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Aug 23, 2022
1 parent dd4fb61 commit 222d9c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scss/_side-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@

.offcanvas-body {
min-height: subtract(100%, var(--#{$prefix}side-nav-item-height));
scrollbar-width: thin;

&::-webkit-scrollbar {
width: 9px;
background-color: $gray-300;
}

&::-webkit-scrollbar-thumb {
background-color: $gray-500;
}
}

.accordion {
Expand Down

0 comments on commit 222d9c8

Please sign in to comment.