use ampersand in the loop to have .gallery-item in good position
This commit is contained in:
parent
ef422bc160
commit
fdcbbdab44
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue