1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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

This commit is contained in:
Mark Otto 2012-03-25 16:40:51 -07:00
parent 8d52e6d458
commit 95c2877ffc
5 changed files with 16 additions and 8 deletions

Binary file not shown.

View file

@ -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 {

View file

@ -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 {

View file

@ -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;
}

View file

@ -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
// -----------------