Skip to content

Nested custom at-rules issues #136

Closed
@bsak-shell

Description

@bsak-shell

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 } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions