From 75737908650ce5fdae1b8bbf541a835e6059de07 Mon Sep 17 00:00:00 2001 From: Kevin Refvik Date: Tue, 31 Mar 2015 16:35:02 +0200 Subject: [PATCH] Added posibility to scroll in the menu If the navigation menu is very long, then it will not fit into the window. By adding overflow auto to the nav, it will be scrollable, instead of scrolling the content behind the navigation. --- hamburgler.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hamburgler.css b/hamburgler.css index b03a79f..1085239 100644 --- a/hamburgler.css +++ b/hamburgler.css @@ -74,6 +74,7 @@ position: fixed; width: 100%; height: 100%; + overflow: auto; background: rgba(0, 0, 0, 0.9); } .mobilenav li { @@ -90,4 +91,4 @@ } .mobilenav li:first-child { margin-top: 60px; -} \ No newline at end of file +}