Skip to content

Commit 6ea1e97

Browse files
Add scrolling to hamburger menu
1 parent 3f7d989 commit 6ea1e97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/docs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ $(".navbar-toggle").click(function(){
171171
$(".sidebar, .sidebar-home").each(function(){
172172
if($(this).hasClass("hidden-sm")) {
173173
$(this).removeClass("hidden-sm");
174+
$(this).css("overflow-y","scroll");
174175
} else {
175176
$(this).addClass("hidden-sm");
176177
}
177178
if($(this).hasClass("hidden-xs")) {
178179
$(this).removeClass("hidden-xs");
180+
$(this).css("overflow-y","scroll");
179181
} else {
180182
$(this).addClass("hidden-xs");
181183
}

0 commit comments

Comments
 (0)