Skip to content

Commit fb28163

Browse files
authored
Merge pull request #2025 from MaxGalindo150/max-galindo
Added Scroll Functionality to Sidebar
2 parents 2765f55 + 6495325 commit fb28163

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_sass/_sidebar.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
margin-bottom: 1em;
1515

1616
@media screen and (min-width: $sidebar-min-width) {
17+
height: 100vh;
18+
overflow-y: auto; // Add scrollbar if the sidebar is too long
1719
position: fixed;
1820
padding-top: $masthead-height;
1921
}

0 commit comments

Comments
 (0)