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

don't let the toggle grow when it's the only flex child

This commit is contained in:
Mark Otto 2016-12-28 16:50:07 -08:00 committed by Mark Otto
parent cc6d9085f7
commit b132d02f99

View File

@ -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;