Skip to content
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

Fix order of css rules #4055

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Fix order of css rules #4055

merged 2 commits into from
Aug 1, 2024

Conversation

nicodh
Copy link
Contributor

@nicodh nicodh commented Jul 30, 2024

since v1.77.7 the behaviour of compiling css from nested rules changed: https://sass-lang.com/documentation/breaking-changes/mixed-decls/

To avoid warnings and keep the old structure of the compiled css all properties should occur before nested rules

Follow up of #4054

@nicodh nicodh requested a review from WofWca July 30, 2024 06:39
since v1.77.7 the behaviour of compiling css from nested rules changed:
https://sass-lang.com/documentation/breaking-changes/mixed-decls/

To avoid warnings and keep the old structure of the compiled css
all properties should occur before nested rules
@WofWca
Copy link
Collaborator

WofWca commented Jul 30, 2024

So, is this just a refactor? Have you seen if something is bugged without this, but with the upgrade of SASS?

@nicodh
Copy link
Contributor Author

nicodh commented Jul 30, 2024

There were warnings when building. In future the generated css will look different then before. With these changes the generated css should stay the same, at least according to the documentation

Copy link
Collaborator

@WofWca WofWca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for the unrelated change, looks good.

@nicodh nicodh merged commit a3e8529 into main Aug 1, 2024
6 of 7 checks passed
@nicodh nicodh deleted the fix-sass-rule-order branch August 1, 2024 11:43
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 this pull request may close these issues.

3 participants