]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
don't let the toggle grow when it's the only flex child
authorMark Otto <markdotto@gmail.com>
Thu, 29 Dec 2016 00:50:07 +0000 (16:50 -0800)
committerMark Otto <markd.otto@gmail.com>
Thu, 29 Dec 2016 03:07:33 +0000 (19:07 -0800)
scss/_navbar.scss

index ddaabcd81af637982337bcc06df12628eb732e67..12fe8c1b40171c374cce90d062d106b349fd4840 100644 (file)
 // 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;