Skip to content

Moves @statements outside the CSS rule set #11

Description

@chaucerbao

Input:

.article {
  .title {
    @statement arguments;
    color: blue;
  }
}

Expected:

.article .title {
  @statement arguments; /* Should stay inside ".article .title" rule set */
  color: blue;
}

Actual:

.article .title {
  color: blue;
}
@statement arguments; /* Appears outside */

I see how this may be useful for @media queries, but for other PostCSS plugins, such as postcss-simple-extend where the context is important, the @Statement should stay inside.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions