Skip to content

Commit 91d3da1

Browse files
authored
fix(navbar): ensure .navbar-collapse behaves as intended (twbs#33022)
1 parent 273db7c commit 91d3da1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scss/_navbar.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
// the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
110110
// on the `.navbar` parent.
111111
.navbar-collapse {
112+
flex-basis: 100%;
112113
flex-grow: 1;
113114
// For always expanded or extra full navbars, ensure content aligns itself
114115
// properly vertically. Can be easily overridden with flex utilities.
@@ -185,6 +186,7 @@
185186

186187
.navbar-collapse {
187188
display: flex !important; // stylelint-disable-line declaration-no-important
189+
flex-basis: auto;
188190
}
189191

190192
.navbar-toggler {

0 commit comments

Comments
 (0)