From 1cfebae779ec76144d8a34684ad25863afa27422 Mon Sep 17 00:00:00 2001 From: Brett Mason Date: Sat, 8 Jul 2017 07:00:09 +0100 Subject: [PATCH] Fix missing . with class names Noticed a bug when reworking grid container that a lot of the base classes (without margin/padding) were missing `.` in their class names and as a result weren't working. --- scss/xy-grid/_classes.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index 97f796b9b7..bdacd85220 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -53,9 +53,9 @@ // https://github.com/zurb/foundation-sites/pull/10222 and // https://github.com/zurb/foundation-sites/pull/10164 .grid-x { - $str: "> #{$-zf-size}-shrink, > #{$-zf-size}-full"; + $str: "> .#{$-zf-size}-shrink, > .#{$-zf-size}-full"; @for $i from 1 through $grid-columns { - $str: $str + ", > #{$-zf-size}-#{$i}" + $str: $str + ", > .#{$-zf-size}-#{$i}" } #{$str} { flex-basis: auto;