1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

Add white-space: nowrap; to .dropdown-header

Dropdowns adjust their width to the width of their containing a elements - which have no line breaks ([*](f226463b05)). Consistent to this dropdown-headers also should be prevent to contain line breaks.
This commit is contained in:
ahoereth
2014-06-18 19:07:55 +02:00
parent 6d45f733e5
commit de55fb85a0

View File

@@ -155,6 +155,7 @@
font-size: @font-size-small; font-size: @font-size-small;
line-height: @line-height-base; line-height: @line-height-base;
color: @dropdown-header-color; color: @dropdown-header-color;
white-space: nowrap; // as with > li > a
} }
// Backdrop to catch body clicks on mobile, etc. // Backdrop to catch body clicks on mobile, etc.