use ampersand in the loop to have .gallery-item in good position

This commit is contained in:
Valérie Blanchard 2017-06-29 01:43:22 +02:00
parent ef422bc160
commit fdcbbdab44
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
// Loops to enumerate the classes for gallery columns. // Loops to enumerate the classes for gallery columns.
@for $i from 2 through 9 { @for $i from 2 through 9 {
.gallery-columns-#{$i} { .gallery-columns-#{$i} & {
max-width: ( 100% / $i ); max-width: ( 100% / $i );
} }
} }