diff options
| author | Mark Otto <[email protected]> | 2021-01-27 11:27:02 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-27 21:27:02 +0200 |
| commit | 0fa16a5d4538d59715cc7b453e336842014bedec (patch) | |
| tree | 01cf4736d62080183045993ebeb74cbebc1b9914 | |
| parent | 5d7b51e1d0d50e999041149bd0b681fb5bf633b3 (diff) | |
| download | bootstrap-0fa16a5d4538d59715cc7b453e336842014bedec.tar.xz bootstrap-0fa16a5d4538d59715cc7b453e336842014bedec.zip | |
Re-add flex-grow to .navbar-collapse (#32899)
Update .navbar-collapse to drop width 100 and use flex-grow, restoring it to v4's behavior
Co-authored-by: XhmikosR <[email protected]>
| -rw-r--r-- | scss/_navbar.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 1187d617b..e3eda27aa 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -109,10 +109,10 @@ // the default flexbox row orientation. Requires the use of `flex-wrap: wrap` // on the `.navbar` parent. .navbar-collapse { + flex-grow: 1; // For always expanded or extra full navbars, ensure content aligns itself // properly vertically. Can be easily overridden with flex utilities. align-items: center; - width: 100%; } // Button for toggling the navbar when in its collapsed state |
