Skip to content

Commit cd27ddd

Browse files
Changed to an older version of clearfix for the grid which solves the problem
1 parent 4be3985 commit cd27ddd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sass/layout/grid.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@
1212
/* Grid basis */
1313

1414
.g {
15+
padding: 0; list-style: none;
16+
margin-left: -$grid-gutter;
17+
1518
/* You can turn off flexbox by setting $flexbox-grid: 0; in the variables; */
1619
@if $flexbox-grid == true {
1720
display: flex;
1821
flex-wrap: wrap;
1922
flex-direction: row;
2023
}
21-
padding: 0; list-style: none;
22-
margin-left: -$grid-gutter;
2324

2425
/* Clearfix for older browsers without flexbox */
2526
&:before, &:after {
26-
content:""; display:table;
27+
content: ""; display: table; clear: both;
2728
}
2829

2930
/* Reset grid to floating */

0 commit comments

Comments
 (0)