aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Thilo <[email protected]>2013-11-17 23:07:28 +0100
committerJulian Thilo <[email protected]>2013-11-17 23:07:28 +0100
commitcdb243706e2fa4bedc359760f4955fd9fdd3fc0c (patch)
tree859dedb1f49c0f9de6b5bbf8c4b631b91af31ea6
parent6b547b357aef8cadc2ddfc9ce41dc8e446cade95 (diff)
downloadbootstrap-cdb243706e2fa4bedc359760f4955fd9fdd3fc0c.tar.xz
bootstrap-cdb243706e2fa4bedc359760f4955fd9fdd3fc0c.zip
Fix #11513: Don't always float navbar-text
`navbar-text` should only float when the navbar is expanded on larger screens, otherwise the element might be (hidden) behind `navbar-nav`. Fixes #11513. X-Ref: #8820 #8815
-rw-r--r--less/navbar.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/navbar.less b/less/navbar.less
index 987cde6b0..21cffc250 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -340,10 +340,10 @@
// Add a class to make any element properly align itself vertically within the navbars.
.navbar-text {
- float: left;
.navbar-vertical-align(@line-height-computed);
@media (min-width: @grid-float-breakpoint) {
+ float: left;
margin-left: @navbar-padding-horizontal;
margin-right: @navbar-padding-horizontal;
}