Commit 998c8a6e authored by Mark Otto's avatar Mark Otto
Browse files

fix double padding issue on fluid layout and example

parent 8d52e6d4
Showing with 16 additions and 8 deletions
+16 -8
No preview for this file type
...@@ -136,6 +136,9 @@ ...@@ -136,6 +136,9 @@
margin-left: -20px; margin-left: -20px;
margin-right: -20px; margin-right: -20px;
} }
.container-fluid {
padding: 0;
}
.container { .container {
width: auto; width: auto;
} }
...@@ -282,11 +285,11 @@ ...@@ -282,11 +285,11 @@
.row-fluid:after { .row-fluid:after {
clear: both; clear: both;
} }
.row-fluid > [class*="span"] { .row-fluid [class*="span"] {
float: left; float: left;
margin-left: 2.762430939%; margin-left: 2.762430939%;
} }
.row-fluid > [class*="span"]:first-child { .row-fluid [class*="span"]:first-child {
margin-left: 0; margin-left: 0;
} }
.row-fluid > .span12 { .row-fluid > .span12 {
...@@ -473,11 +476,11 @@ ...@@ -473,11 +476,11 @@
.row-fluid:after { .row-fluid:after {
clear: both; clear: both;
} }
.row-fluid > [class*="span"] { .row-fluid [class*="span"] {
float: left; float: left;
margin-left: 2.564102564%; margin-left: 2.564102564%;
} }
.row-fluid > [class*="span"]:first-child { .row-fluid [class*="span"]:first-child {
margin-left: 0; margin-left: 0;
} }
.row-fluid > .span12 { .row-fluid > .span12 {
......
...@@ -253,11 +253,11 @@ a:hover { ...@@ -253,11 +253,11 @@ a:hover {
.row-fluid:after { .row-fluid:after {
clear: both; clear: both;
} }
.row-fluid > [class*="span"] { .row-fluid [class*="span"] {
float: left; float: left;
margin-left: 2.127659574%; margin-left: 2.127659574%;
} }
.row-fluid > [class*="span"]:first-child { .row-fluid [class*="span"]:first-child {
margin-left: 0; margin-left: 0;
} }
.row-fluid > .span12 { .row-fluid > .span12 {
......
...@@ -578,11 +578,11 @@ ...@@ -578,11 +578,11 @@
.row-fluid { .row-fluid {
width: 100%; width: 100%;
.clearfix(); .clearfix();
> [class*="span"] { [class*="span"] {
float: left; float: left;
margin-left: @fluidGridGutterWidth; margin-left: @fluidGridGutterWidth;
} }
> [class*="span"]:first-child { [class*="span"]:first-child {
margin-left: 0; margin-left: 0;
} }
......
...@@ -75,11 +75,16 @@ ...@@ -75,11 +75,16 @@
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} }
// Negative indent the now static "fixed" navbar
.navbar-fixed-top, .navbar-fixed-top,
.navbar-fixed-bottom { .navbar-fixed-bottom {
margin-left: -20px; margin-left: -20px;
margin-right: -20px; margin-right: -20px;
} }
// Remove padding on container given explicit padding set on body
.container-fluid {
padding: 0;
}
// GRID & CONTAINERS // GRID & CONTAINERS
// ----------------- // -----------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment