Skip to content

Commit

Permalink
Merge pull request #33 from HumbleDeer/patch-1
Browse files Browse the repository at this point in the history
Hide scrollbar when the side-nav expands
  • Loading branch information
HumbleDeer authored Sep 10, 2023
2 parents b571f61 + a43faf8 commit 27d3d9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,18 @@
display: block;
}

&::-webkit-scrollbar {
display: none;
}

@include mq(md) {
display: block;
padding-top: $sp-8;
padding-bottom: $gutter-spacing-sm;
overflow-y: auto;
flex: 1 1 auto;
-ms-overflow-style: none; /* IE and Edge Hide scrollbar*/
scrollbar-width: none; /* Firefox Hide scrollbar*/
}
}

Expand Down

0 comments on commit 27d3d9e

Please sign in to comment.