aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorahoereth <[email protected]>2014-06-18 19:07:55 +0200
committerahoereth <[email protected]>2014-06-18 19:07:55 +0200
commitde55fb85a0295553e65231e6116985863acb7ad9 (patch)
treedb9d49de8473c3dca97513a46cf83b1e2304d9b9 /less/dropdowns.less
parent6d45f733e57d0e520668a8a38b55d085bd5ef05a (diff)
downloadbootstrap-de55fb85a0295553e65231e6116985863acb7ad9.tar.xz
bootstrap-de55fb85a0295553e65231e6116985863acb7ad9.zip
Add white-space: nowrap; to .dropdown-header
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.
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 8d0a6a2d0..3eb7fc05c 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -155,6 +155,7 @@
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.