mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 10:34:07 +02:00
fixes #23926 responsive state on navbar
This commit is contained in:
@@ -97,6 +97,7 @@
|
|||||||
// the default flexbox row orienation. Requires the use of `flex-wrap: wrap`
|
// the default flexbox row orienation. Requires the use of `flex-wrap: wrap`
|
||||||
// on the `.navbar` parent.
|
// on the `.navbar` parent.
|
||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
|
flex-basis: 100%;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
// For always expanded or extra full navbars, ensure content aligns itself
|
// For always expanded or extra full navbars, ensure content aligns itself
|
||||||
// properly vertically. Can be easily overridden with flex utilities.
|
// properly vertically. Can be easily overridden with flex utilities.
|
||||||
@@ -177,6 +178,9 @@
|
|||||||
// scss-lint:disable ImportantRule
|
// scss-lint:disable ImportantRule
|
||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
|
|
||||||
|
// Changes flex-bases to auto because of an IE10 bug
|
||||||
|
flex-basis: auto;
|
||||||
}
|
}
|
||||||
// scss-lint:enable ImportantRule
|
// scss-lint:enable ImportantRule
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user