mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
fix double padding issue on fluid layout and example
This commit is contained in:
parent
8d52e6d458
commit
998c8a6e3d
Binary file not shown.
11
docs/assets/css/bootstrap-responsive.css
vendored
11
docs/assets/css/bootstrap-responsive.css
vendored
@ -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 @@
|
|||||||
.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 @@
|
|||||||
.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 {
|
||||||
|
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
@ -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 @@
|
|||||||
.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 @@
|
|||||||
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
|
||||||
// -----------------
|
// -----------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user