mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-31 23:52:18 +01:00
don't let the toggle grow when it's the only flex child
This commit is contained in:
parent
ad3a2488b6
commit
24a45deb96
@ -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…
x
Reference in New Issue
Block a user