1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

fix(navbar): ensure .navbar-collapse behaves as intended (#33022)

This commit is contained in:
Gaël Poupard
2021-02-09 19:54:37 +01:00
committed by GitHub
parent 273db7c205
commit 91d3da1f3d

View File

@@ -109,6 +109,7 @@
// the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
// on the `.navbar` parent.
.navbar-collapse {
flex-basis: 100%;
flex-grow: 1;
// For always expanded or extra full navbars, ensure content aligns itself
// properly vertically. Can be easily overridden with flex utilities.
@@ -185,6 +186,7 @@
.navbar-collapse {
display: flex !important; // stylelint-disable-line declaration-no-important
flex-basis: auto;
}
.navbar-toggler {