Skip to content

Commit bd8bdc6

Browse files
committed
Sidebar: Fix scroll
A previous commit added a sidebar__content__wrapper which caused the nested div, which previously handled scrolling, to no longer function as expected. This moved the scrolling logic up to the wrapper div instead.
1 parent e233b60 commit bd8bdc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

assets/css/v2/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ ol li:last-child {
613613
}
614614
}
615615

616-
.sidebar__content {
616+
.sidebar__content__wrapper {
617617
overflow-y: auto;
618618
min-height: 0;
619619
/* allows space for scrollbar */
@@ -1157,7 +1157,6 @@ nav.sidebar.sidebar__mobile-open {
11571157

11581158
.sidebar__content {
11591159
padding: 0.5rem 0 0.4rem 0;
1160-
margin-right: 0.25rem;
11611160
}
11621161

11631162
.sidebar__ul {

0 commit comments

Comments
 (0)