Skip to content

[CSS] Invalid @page rule formatting #7859

@vlad-zhukov

Description

@vlad-zhukov

Prettier 2.0.2
Playground link

Input:

@page:first 
{
  counter-reset: page 1;
}

Output: (v2.0.2)

@page: first{
  counter-reset: page 1;
};

Output: (v1.19)

@page:first {
  counter-reset: page 1;
}

Expected behavior:

@page:first {
  counter-reset: page 1;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!lang:css/scss/lessIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions