From 3a6e38dd0a0a0c7ec45eb8a82e84dcc461523d9d Mon Sep 17 00:00:00 2001 From: Felix Gliesche Date: Tue, 26 Jan 2016 10:59:38 +0100 Subject: [PATCH] Let mobile header be fixed --- public/stylesheets/responsive.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 981850c..beebc3c 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -94,6 +94,8 @@ padding: 0; border: none; background-color: #628db6; + position: fixed; + z-index: 9999; } /* Hide project name on mobile (project name is still visible in select menu) */ @@ -188,7 +190,7 @@ \*----------------------------------------*/ #main { - padding: 0; + padding: 64px 0 0; /* padding-top equals header height */ } #main.nosidebar #content, @@ -525,8 +527,11 @@ overflow: hidden; } + .flyout-is-active #wrapper, .flyout-is-active #header { + right: 250px; /* when left flyout is active, move body and header to the right (same amount like flyout-menu's width) */ + } + .flyout-is-active #wrapper { - right: 250px; /* when left flyout is active, move body to the right (same amount like flyout-menu's width) */ overflow: visible; height: 100%; } -- 2.5.4 (Apple Git-61)