aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/scaffolding.less8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/scaffolding.less b/lib/scaffolding.less
index 7ad8a7b16..66e5cc32f 100644
--- a/lib/scaffolding.less
+++ b/lib/scaffolding.less
@@ -75,11 +75,15 @@ 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;
.clearfix();
}
-// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7)
+[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
[class*="span"] {
.gridColumn();