Fixed overflowing sidebar and footer scrolling bug

This commit is contained in:
squidfunk
2017-02-18 13:51:34 +01:00
committed by Martin Donath
parent 281449f418
commit dccfcb8732
12 changed files with 11 additions and 121 deletions

View File

@@ -78,13 +78,6 @@ export const initialize = config => {
}
}).listen()
/* Component: sidebar container */
if (!Modernizr.csscalc)
new Material.Event.MatchMedia("(min-width: 960px)",
new Material.Event.Listener(window, [
"resize", "orientationchange"
], new Material.Sidebar.Container("[data-md-component=container]")))
/* Component: sidebar with navigation */
new Material.Event.MatchMedia("(min-width: 1220px)",
new Material.Event.Listener(window, [