From 8a5dde556b4b029a18faa8c863284d72f7df3b28 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 27 Aug 2012 11:05:01 -0700 Subject: [PATCH] fixes #4644: ensure new static navbar negative indents on responsive layouts like fixed navbars --- docs/assets/css/bootstrap-responsive.css | 3 ++- less/responsive-767px-max.less | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 3b0efb1aca..07542e249a 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 b2e3da25c0..41207a203b 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; }