Commit 95c2877f authored by Mark Otto's avatar Mark Otto

remove > in fluid grid selectors, fix double padding issue on fluid layout and example

parent 8d52e6d4
......@@ -136,6 +136,9 @@
margin-left: -20px;
margin-right: -20px;
}
.container-fluid {
padding: 0;
}
.container {
width: auto;
}
......@@ -282,11 +285,11 @@
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
.row-fluid [class*="span"] {
float: left;
margin-left: 2.762430939%;
}
.row-fluid > [class*="span"]:first-child {
.row-fluid [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid > .span12 {
......@@ -473,11 +476,11 @@
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
.row-fluid [class*="span"] {
float: left;
margin-left: 2.564102564%;
}
.row-fluid > [class*="span"]:first-child {
.row-fluid [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid > .span12 {
......
......@@ -253,11 +253,11 @@ a:hover {
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
.row-fluid [class*="span"] {
float: left;
margin-left: 2.127659574%;
}
.row-fluid > [class*="span"]:first-child {
.row-fluid [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid > .span12 {
......
......@@ -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;
}
......
......@@ -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
// -----------------
......
Markdown is supported
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