aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-25 16:40:51 -0700
committerMark Otto <[email protected]>2012-03-25 16:40:51 -0700
commit998c8a6e3d3962152c1ebfe6cd0431b87ae3fb62 (patch)
treeaf696a7337585f486a945cd8a2fc85be0439e10d /less
parent8d52e6d458e10c618698cc7698f252003e727eb7 (diff)
downloadbootstrap-998c8a6e3d3962152c1ebfe6cd0431b87ae3fb62.tar.xz
bootstrap-998c8a6e3d3962152c1ebfe6cd0431b87ae3fb62.zip
fix double padding issue on fluid layout and example
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less4
-rw-r--r--less/responsive-767px-max.less5
2 files changed, 7 insertions, 2 deletions
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
// -----------------