Made the navbar a little smaller

This commit is contained in:
Bernd Bestel
2020-02-02 17:16:02 +01:00
parent 3ca6982c39
commit ba1272ced8
3 changed files with 24 additions and 1 deletions

View File

@@ -120,9 +120,15 @@ input::-webkit-inner-spin-button {
/* Navigation style customizations */
#mainNav {
line-height: 1;
background-color: #e5e5e5 !important;
border-bottom: 2px solid !important;
border-color: #d6d6d6 !important;
padding-bottom: 0.3rem;
}
#mainNav .dropdown-menu {
line-height: 1.5;
}
.navbar-sidenav {
@@ -307,6 +313,20 @@ input::-webkit-inner-spin-button {
}
}
@media (min-width:992px) {
#mainNav .navbar-collapse .navbar-sidenav {
margin-top: 46px;
}
#mainNav.fixed-top .navbar-sidenav {
height: calc(100vh - 94px)
}
#mainNav.fixed-top .sidenav-toggler {
margin-top:calc(100vh - 48px)
}
}
html {
min-height: inherit;
}