Skip to content

Commit 12fc7e0

Browse files
Fixed a bug where gutter-none, gutter-small and gutter-large was affecting more then just the direct children
1 parent 8531cf7 commit 12fc7e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sass/layout/grid.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
&.gutter-none {
9797
margin-left: 0;
9898

99-
* {
99+
> * {
100100
padding-left: 0;
101101
}
102102
}
@@ -105,7 +105,7 @@
105105
&.gutter-small {
106106
margin-left: -$grid-gutter / 2;
107107

108-
* {
108+
> * {
109109
padding-left: $grid-gutter / 2;
110110
}
111111
}
@@ -114,7 +114,7 @@
114114
&.gutter-large {
115115
margin-left: -$grid-gutter * 2;
116116

117-
* {
117+
> * {
118118
padding-left: $grid-gutter * 2;
119119
}
120120
}

0 commit comments

Comments
 (0)