diff options
Diffstat (limited to 'assets/stylesheets/bootstrap/_navbar.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_navbar.scss | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/assets/stylesheets/bootstrap/_navbar.scss b/assets/stylesheets/bootstrap/_navbar.scss index ab238e5..ed49b76 100644 --- a/assets/stylesheets/bootstrap/_navbar.scss +++ b/assets/stylesheets/bootstrap/_navbar.scss @@ -31,12 +31,6 @@ flex-wrap: wrap; align-items: center; justify-content: space-between; - - @include media-breakpoint-down(nth(map-keys($grid-breakpoints), 1)) { - width: 100%; // prevent flex parent container from collapsing - margin-right: 0; - margin-left: 0; - } } } @@ -104,6 +98,9 @@ // on the `.navbar` parent. .navbar-collapse { flex-basis: 100%; + // For always expanded or extra full navbars, ensure content aligns itself + // properly vertically. Can be easily overridden with flex utilities. + align-items: center; } // Button for toggling the navbar when in its collapsed state |