From fdcbbdab44d999f5481ccd6d28cc58422ff9ada0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rie=20Blanchard?= Date: Thu, 29 Jun 2017 01:43:22 +0200 Subject: [PATCH] use ampersand in the loop to have .gallery-item in good position --- sass/media/_galleries.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/media/_galleries.scss b/sass/media/_galleries.scss index 7499e078..c3801ab2 100644 --- a/sass/media/_galleries.scss +++ b/sass/media/_galleries.scss @@ -10,7 +10,7 @@ // Loops to enumerate the classes for gallery columns. @for $i from 2 through 9 { - .gallery-columns-#{$i} { + .gallery-columns-#{$i} & { max-width: ( 100% / $i ); } }