Skip to content

Nested custom at-rules issues #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bsak-shell opened this issue Jul 27, 2021 · 1 comment · Fixed by #137
Closed

Nested custom at-rules issues #136

bsak-shell opened this issue Jul 27, 2021 · 1 comment · Fixed by #137

Comments

@bsak-shell
Copy link
Contributor

There are several issues related to the custom at-rule nesting (#81, #124, #123). This issue is to fix the below general behaviour:


Example 1 (bubbling up custom childless at-rules):

@media screen { .two { @mixin test } }

Expected output:

@media screen { .two { @mixin test } }

Actual output:

@media screen { @mixin test; }

Example 2 (bubbling up all at-rules, ignoring the option setting):

@media screen { .three { @mixin test { color: black } } }

Expected output:

@media screen { .three { @mixin test { color: black } } }

Actual output:

@media screen { @mixin test { .three { color: black } } }
@ai
Copy link
Member

ai commented Jul 28, 2021

Thanks. Released in 5.0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants