aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-27 11:05:01 -0700
committerMark Otto <[email protected]>2012-08-27 11:05:01 -0700
commit8a5dde556b4b029a18faa8c863284d72f7df3b28 (patch)
tree955567efeaa37d1bd76c3f4e5d88ba2d65eb4a26
parent1c9d5c43b06dc81de1320227244246a17d3a79f3 (diff)
downloadbootstrap-8a5dde556b4b029a18faa8c863284d72f7df3b28.tar.xz
bootstrap-8a5dde556b4b029a18faa8c863284d72f7df3b28.zip
fixes #4644: ensure new static navbar negative indents on responsive layouts like fixed navbars
-rw-r--r--docs/assets/css/bootstrap-responsive.css3
-rw-r--r--less/responsive-767px-max.less3
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index 3b0efb1ac..07542e249 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -780,7 +780,8 @@
padding-left: 20px;
}
.navbar-fixed-top,
- .navbar-fixed-bottom {
+ .navbar-fixed-bottom,
+ .navbar-static-top {
margin-right: -20px;
margin-left: -20px;
}
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index b2e3da25c..41207a203 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -12,7 +12,8 @@
}
// Negative indent the now static "fixed" navbar
.navbar-fixed-top,
- .navbar-fixed-bottom {
+ .navbar-fixed-bottom,
+ .navbar-static-top {
margin-left: -20px;
margin-right: -20px;
}