diff --git a/app/static/css/materialize.override.css b/app/static/css/materialize.override.css index 55b07db8..e1876c2f 100644 --- a/app/static/css/materialize.override.css +++ b/app/static/css/materialize.override.css @@ -7,29 +7,28 @@ * * Read more: https://materializecss.com/sidenav.html#variations */ -body[data-sidenav-fixed="true" i] header, body[data-sidenav-fixed="true" i] main, body[data-sidenav-fixed="true" i] footer { padding-left: 300px; } -@media only screen and (max-width : 992px) { - body[data-sidenav-fixed="true" i] header, +@media only screen and (max-width: 992px) { body[data-sidenav-fixed="true" i] main, body[data-sidenav-fixed="true" i] footer { padding-left: 0; } -} -body[data-sidenav-fixed="true" i] .navbar-fixed > nav { - width: calc(100% - 300px); -} - -@media only screen and (max-width : 992px) { body[data-sidenav-fixed="true" i] .navbar-fixed > nav { width: 100%; } } + +@media only screen and (min-width: 993px) { + body[data-sidenav-fixed="true" i] .sidenav-fixed { + margin-top: 64px; + z-index: 996; + } +} /* #endregion sidenav-fixed */ /* #region sticky-footer */ diff --git a/app/templates/_base/navbar_primary_content.html.j2 b/app/templates/_base/navbar_primary_content.html.j2 index 0df9b5dc..943c423c 100644 --- a/app/templates/_base/navbar_primary_content.html.j2 +++ b/app/templates/_base/navbar_primary_content.html.j2 @@ -10,8 +10,8 @@ -