-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure CSS before a layer stays unlayered (#14596)
This PR fixes an issue where CSS that existed before a layer: ```css .foo { color: red; } @layer components { .bar { color: blue; } } ``` Was turned into an `@layer` without a name: ```css @layer { .foo { color: red; } } @Utility bar { color: blue; } ``` But in this case, it should stay as-is: ```css .foo { color: red; } @Utility bar { color: blue; } ```
- Loading branch information
1 parent
60b0e9c
commit e3764ac
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters