From de55fb85a0295553e65231e6116985863acb7ad9 Mon Sep 17 00:00:00 2001 From: ahoereth Date: Wed, 18 Jun 2014 19:07:55 +0200 Subject: 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. --- less/dropdowns.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/dropdowns.less') 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. -- cgit v1.2.3 From 8d7700b2b63a8abeb96a6f309610e9e8b4b4792c Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Sat, 16 Aug 2014 19:20:13 +0400 Subject: Use single .dropdown-menu --- less/dropdowns.less | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'less/dropdowns.less') diff --git a/less/dropdowns.less b/less/dropdowns.less index 3eb7fc05c..b25b6aacd 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -103,9 +103,8 @@ &:focus { color: @dropdown-link-disabled-color; } -} -// Nuke hover/focus effects -.dropdown-menu > .disabled > a { + + // Nuke hover/focus effects &:hover, &:focus { text-decoration: none; -- cgit v1.2.3 From a03d269287f39c22fb7d4f5a5edd94293aa0c1ae Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Tue, 26 Aug 2014 02:24:09 +0400 Subject: Less: Remove empty lines and blanks. --- less/dropdowns.less | 1 - 1 file changed, 1 deletion(-) (limited to 'less/dropdowns.less') diff --git a/less/dropdowns.less b/less/dropdowns.less index b25b6aacd..742c91265 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -211,4 +211,3 @@ } } } - -- cgit v1.2.3