aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-23 11:35:39 -0800
committerMark Otto <[email protected]>2012-01-23 11:35:39 -0800
commit00d925819405ef46fb09d4bef83761ea121a9364 (patch)
treeb51cdee4e31a96e1dbd79ee366689d509fe112ec /lib
parent22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6 (diff)
downloadbootstrap-00d925819405ef46fb09d4bef83761ea121a9364.tar.xz
bootstrap-00d925819405ef46fb09d4bef83761ea121a9364.zip
revert to negative margin on grid row
Diffstat (limited to 'lib')
-rw-r--r--lib/scaffolding.less5
-rw-r--r--lib/thumbnails.less2
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/scaffolding.less b/lib/scaffolding.less
index 13f55026d..ff029e841 100644
--- a/lib/scaffolding.less
+++ b/lib/scaffolding.less
@@ -73,13 +73,10 @@ a {
// -----------
// To customize the grid system, bring up the variables.less file and change the column count, size, and gutter there
.row {
+ margin-left: @gridGutterWidth * -1;
.clearfix();
}
-[class*="span"]:first-child{
- margin-left: 0;
-}
-
// Find all .span# classes within .row and give them the necessary properties for grid columns
// (supported by all browsers back to IE7)
// Credit to @dhg for the idea
diff --git a/lib/thumbnails.less b/lib/thumbnails.less
index 4f9c5f76d..0ba749059 100644
--- a/lib/thumbnails.less
+++ b/lib/thumbnails.less
@@ -8,7 +8,7 @@
}
.thumbnails > li {
float: left;
- margin: 0 0 20px 20px;
+ margin: 0 0 @baseLineHeight 20px;
}
.thumbnail {
display: block;