From 36a45597bb9aaf96a2e02880fdae2193d248bf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 1 Aug 2018 11:31:37 +0200 Subject: [PATCH] No margin left if the navigation is hidden MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/apps.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index 63dd5759a7..e3fee08658 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -601,7 +601,7 @@ kbd { flex-basis: 100vw; min-height: 100%; /* margin if navigation element is here */ - #app-navigation + & { + #app-navigation:not(.hidden) + & { margin-left: $navigation-width; } /* no top border for first settings item */