From 7846c0bb2cf852a397fe909b2e643beed72d5243 Mon Sep 17 00:00:00 2001 From: Daniel Tijerina Date: Tue, 29 Apr 2014 16:13:32 -0500 Subject: [PATCH] Fix for Android 4.1 nth-of-type bug in the Android 4.1 browser nth-of-type(n) is not recognized by the parser but nth-of-type(1n) apparently is. This fixes an issue where a smaller breakpoint clearing bleeds through to the larger breakpoints and adds additional clears. This can be recreated on the block grid documentation page --- scss/foundation/components/_block-grid.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/foundation/components/_block-grid.scss b/scss/foundation/components/_block-grid.scss index c24a94455..f5ae8fa70 100644 --- a/scss/foundation/components/_block-grid.scss +++ b/scss/foundation/components/_block-grid.scss @@ -65,7 +65,7 @@ $block-grid-media-queries: true !default; } list-style: none; - &:nth-of-type(n) { clear: none; } + &:nth-of-type(1n) { clear: none; } &:nth-of-type(#{$per-row}n+1) { clear: both; } @if $align-block-grid-to-grid { @include block-grid-aligned($per-row, $spacing); -- 2.47.2