Skip to content

Commit

Permalink
Merge pull request #2025 from MaxGalindo150/max-galindo
Browse files Browse the repository at this point in the history
Added Scroll Functionality to Sidebar
  • Loading branch information
rjzupkoii committed Apr 4, 2024
2 parents 2765f55 + 6495325 commit fb28163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _sass/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
margin-bottom: 1em;

@media screen and (min-width: $sidebar-min-width) {
height: 100vh;
overflow-y: auto; // Add scrollbar if the sidebar is too long
position: fixed;
padding-top: $masthead-height;
}
Expand Down

0 comments on commit fb28163

Please sign in to comment.