Fix wrong offset for navbar elements.

This commit is contained in:
Patrick Jentsch 2019-08-01 14:01:06 +02:00
parent 64fb17f17e
commit c958edbae1

View File

@ -23,13 +23,13 @@ main {
* case header, main and footer) gets an offset equal to the width of the * case header, main and footer) gets an offset equal to the width of the
* sidenav. * sidenav.
*/ */
@media only screen and (min-width : 993px) {
header, main, footer { header, main, footer {
padding-left: 300px; padding-left: 300px;
} }
@media only screen and (max-width : 992px) { .navbar-fixed > nav {
header, main, footer { width: calc(100% - 300px)
padding-left: 0;
} }
} }
/* ### End sidenav-fixed offset ### */ /* ### End sidenav-fixed offset ### */