From c958edbae1ea549e966c3ab11ec40f15060a312a Mon Sep 17 00:00:00 2001
From: Patrick Jentsch <p.jentsch@uni-bielefeld.de>
Date: Thu, 1 Aug 2019 14:01:06 +0200
Subject: [PATCH] Fix wrong offset for navbar elements.

---
 app/static/css/opaque.css | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/static/css/opaque.css b/app/static/css/opaque.css
index 1e976351..dbb05de9 100644
--- a/app/static/css/opaque.css
+++ b/app/static/css/opaque.css
@@ -23,13 +23,13 @@ main {
  * case header, main and footer) gets an offset equal to the width of the
  * sidenav.
 */
-header, main, footer {
-  padding-left: 300px;
-}
-
-@media only screen and (max-width : 992px) {
+@media only screen and (min-width : 993px) {
   header, main, footer {
-    padding-left: 0;
+    padding-left: 300px;
+  }
+
+  .navbar-fixed > nav {
+    width: calc(100% - 300px)
   }
 }
 /* ### End sidenav-fixed offset ### */
-- 
GitLab