0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

fix navbar alignment for never expand situations

This commit is contained in:
Mark Otto 2017-08-04 15:15:25 -07:00
parent 987ac632b5
commit 73040d4311

View File

@ -98,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