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
* 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 ### */