From 95c2877ffca46aa5812b0b2b2ace6608d309586d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 25 Mar 2012 16:40:51 -0700 Subject: remove > in fluid grid selectors, fix double padding issue on fluid layout and example --- less/mixins.less | 4 ++-- less/responsive-767px-max.less | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/mixins.less b/less/mixins.less index f3774a533..8e72f23cc 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -578,11 +578,11 @@ .row-fluid { width: 100%; .clearfix(); - > [class*="span"] { + [class*="span"] { float: left; margin-left: @fluidGridGutterWidth; } - > [class*="span"]:first-child { + [class*="span"]:first-child { margin-left: 0; } diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less index bb4a449f8..7a3318a8f 100644 --- a/less/responsive-767px-max.less +++ b/less/responsive-767px-max.less @@ -75,11 +75,16 @@ padding-left: 20px; padding-right: 20px; } + // Negative indent the now static "fixed" navbar .navbar-fixed-top, .navbar-fixed-bottom { margin-left: -20px; margin-right: -20px; } + // Remove padding on container given explicit padding set on body + .container-fluid { + padding: 0; + } // GRID & CONTAINERS // ----------------- -- cgit v1.2.3