0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

fixes #23926 responsive state on navbar

This commit is contained in:
Andres Galante 2017-09-12 15:51:54 -03:00
parent 404c1a37ac
commit 5becfa6fb1

View File

@ -97,6 +97,7 @@
// the default flexbox row orienation. 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.
@ -177,6 +178,9 @@
// scss-lint:disable ImportantRule
.navbar-collapse {
display: flex !important;
// Changes flex-bases to auto because of an IE10 bug
flex-basis: auto;
}
// scss-lint:enable ImportantRule