Skip to content

Commit

Permalink
Re-add flex-grow to .navbar-collapse (#32899)
Browse files Browse the repository at this point in the history
Update .navbar-collapse to drop width 100 and use flex-grow, restoring it to v4's behavior

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
mdo and XhmikosR committed Jan 27, 2021
1 parent 5d7b51e commit 0fa16a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 0fa16a5

@jonnysp
Copy link
Contributor

@jonnysp jonnysp commented on 0fa16a5 Feb 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert this

grafik

Please sign in to comment.