mirror of https://github.com/twbs/bootstrap.git
don't let the toggle grow when it's the only flex child
This commit is contained in:
parent
cc6d9085f7
commit
b132d02f99
|
@ -100,6 +100,7 @@
|
||||||
// Bootstrap JavaScript plugin.
|
// Bootstrap JavaScript plugin.
|
||||||
|
|
||||||
.navbar-toggler {
|
.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;
|
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
|
||||||
font-size: $navbar-toggler-font-size;
|
font-size: $navbar-toggler-font-size;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
Loading…
Reference in New Issue