Refactored wrapper structure to allow variable-sized sticky footer

This commit is contained in:
squidfunk
2016-12-26 14:31:16 +01:00
parent de177ca0c5
commit 5000e3ee8d
11 changed files with 53 additions and 39 deletions

View File

@@ -95,10 +95,11 @@ export default class Application {
}
/* Component: sidebar container */
new Material.Event.MatchMedia("(min-width: 960px)",
new Material.Event.Listener(window, [
"resize", "orientationchange"
], new Material.Sidebar.Container("[data-md-container]")))
if (!Modernizr.csscalc)
new Material.Event.MatchMedia("(min-width: 960px)",
new Material.Event.Listener(window, [
"resize", "orientationchange"
], new Material.Sidebar.Container("[data-md-container]")))
/* Component: sidebar with navigation */
new Material.Event.MatchMedia("(min-width: 1200px)",