aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-28 16:50:07 -0800
committerMark Otto <[email protected]>2016-12-28 16:50:07 -0800
commit24a45deb96d584c15b5e5073e32604a146453c8f (patch)
tree482c48b08585019daa23b2b1fec1ff0b3794bfbe
parentad3a2488b61754c0c71a7f3ba2a7107a1f97815e (diff)
downloadbootstrap-24a45deb96d584c15b5e5073e32604a146453c8f.tar.xz
bootstrap-24a45deb96d584c15b5e5073e32604a146453c8f.zip
don't let the toggle grow when it's the only flex child
-rw-r--r--scss/_navbar.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index ddaabcd81..12fe8c1b4 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -100,6 +100,7 @@
// Bootstrap JavaScript plugin.
.navbar-toggler {
+ align-self: flex-start; // Prevent toggler from growing to full width when it's the only visible navbar child
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
font-size: $navbar-toggler-font-size;
line-height: 1;