aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Galante <[email protected]>2017-09-12 15:51:54 -0300
committerAndres Galante <[email protected]>2017-09-12 21:41:15 -0300
commit5becfa6fb1c04b57020737d7c352404e72766a0a (patch)
treec68f9dc4c9354483f523f0065f219771db253c7c
parent404c1a37acdf3689bb38f9f73f289d97fd434a2a (diff)
downloadbootstrap-5becfa6fb1c04b57020737d7c352404e72766a0a.tar.xz
bootstrap-5becfa6fb1c04b57020737d7c352404e72766a0a.zip
fixes #23926 responsive state on navbar
-rw-r--r--scss/_navbar.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index 45c1e05d4..15d218e87 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -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