aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-04-13 23:54:51 -0700
committerMark Otto <[email protected]>2013-04-13 23:54:51 -0700
commitf226463b057f945795661c3d19fbcabf63b931f7 (patch)
treedaf6f5ca3aa1b5c7a024ea02958aef401855bd37
parent86bb3b8126c94ee8c839eac4d9120f3edeafefdd (diff)
downloadbootstrap-f226463b057f945795661c3d19fbcabf63b931f7.tar.xz
bootstrap-f226463b057f945795661c3d19fbcabf63b931f7.zip
Restore on links in dropdowns as they are randomly breaking onto new lines
-rw-r--r--docs/assets/css/bootstrap.css1
-rw-r--r--less/dropdowns.less1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 9bc946e70..74cb44246 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -2860,6 +2860,7 @@ fieldset[disabled] .btn-link:focus {
font-weight: normal;
line-height: 20px;
color: #333333;
+ white-space: nowrap;
}
.dropdown-menu > li > a:hover,
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 29913c66a..7f9f77603 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -71,6 +71,7 @@
font-weight: normal;
line-height: @line-height-base;
color: @dropdown-link-color;
+ white-space: nowrap; // prevent links from randomly breaking onto new lines
}
}