CSS properties after an @for loop are nested within the loop (indented syntax) #63
Labels
enhancement
New feature or request
Expected Behavior (Change?)
Expected Behavior but might get changed.
Describe the bug
If a CSS statement occurs after an
@for
loop in a mixin, the statement (and any statements following it) are nested into the loop block. This only applies to the indented syntax BTW because otherwise the block would be enclosed by{curlies}
.To Reproduce
Steps to reproduce the behavior:
test.sass
with a mixin containing an@for
loop with more statements after, ex:Expected behavior
The statement after the
@for
loop (width: $a * 1px
) should stay unindented and outside of the loopScreenshots
N/A
Desktop (please complete the following information):
Additional context
I am forced to either remove this mixin and inline a lot of code, switch to the SCSS syntax, or disable the formatter (as I am right now)
The text was updated successfully, but these errors were encountered: