]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add white-space: nowrap; to .dropdown-header 13851/head
authorahoereth <ahoereth@users.noreply.github.com>
Wed, 18 Jun 2014 17:07:55 +0000 (19:07 +0200)
committerahoereth <ahoereth@users.noreply.github.com>
Wed, 18 Jun 2014 17:07:55 +0000 (19:07 +0200)
Dropdowns adjust their width to the width of their containing a elements - which have no line breaks ([*](https://github.com/twbs/bootstrap/commit/f226463b057f945795661c3d19fbcabf63b931f7)). Consistent to this dropdown-headers also should be prevent to contain line breaks.

less/dropdowns.less

index 8d0a6a2d016fd05cd4ba5ad8b88073497f633766..3eb7fc05c442a72fc3b0c827e21eeca311f061b3 100644 (file)
   font-size: @font-size-small;
   line-height: @line-height-base;
   color: @dropdown-header-color;
+  white-space: nowrap; // as with > li > a
 }
 
 // Backdrop to catch body clicks on mobile, etc.