forked from mirror/_s
use ampersand in the loop to have .gallery-item in good position
This commit is contained in:
parent
ef422bc160
commit
fdcbbdab44
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue