forked from mirror/_s
Merge pull request #1145 from VBlankSB/sassgallery-fix
Loop for gallery-columns should be outside gallery-item braces
This commit is contained in:
commit
251896a973
|
@ -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