8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the advanced preset the order of the areas defined with grid-template-areas are not respected.
When I write:
.project { display: grid; grid-template-areas: 'b a' 'b c'; }
I expect minified output to respect the order of the areas in grid-template-areas.
grid-template-areas
.project{display:grid;grid-template-areas:"b a" "a c"}
7.0.4
advanced
System: OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish) CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz Memory: 24.38 GB / 30.74 GB Container: Yes Shell: 5.1.16 - /bin/bash
├─┬ cssnano@7.0.4 │ ├─┬ cssnano-preset-default@7.0.4 │ │ ├─┬ css-declaration-sorter@7.2.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ cssnano-utils@5.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-calc@10.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-colormin@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-convert-values@7.0.2 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-discard-comments@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-discard-duplicates@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-discard-empty@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-discard-overridden@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-merge-longhand@7.0.2 │ │ │ ├── postcss@8.4.39 deduped │ │ │ └─┬ stylehacks@7.0.2 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-merge-rules@7.0.2 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-minify-font-values@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-minify-gradients@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-minify-params@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-minify-selectors@7.0.2 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-charset@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-display-values@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-positions@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-repeat-style@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-string@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-timing-functions@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-unicode@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-url@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-normalize-whitespace@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-ordered-values@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-reduce-initial@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-reduce-transforms@7.0.0 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-svgo@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ ├─┬ postcss-unique-selectors@7.0.1 │ │ │ └── postcss@8.4.39 deduped │ │ └── postcss@8.4.39 deduped │ └── postcss@8.4.39 deduped ├─┬ postcss-cli@11.0.0 │ ├─┬ postcss-load-config@5.1.0 │ │ └── postcss@8.4.39 deduped │ ├─┬ postcss-reporter@7.1.0 │ │ └── postcss@8.4.39 deduped │ └── postcss@8.4.39 deduped └── postcss@8.4.39
No response
The text was updated successfully, but these errors were encountered:
Since it is preset-advanced only, the issue should come from either discard-unused, merge-idents, reduce-idents or zindex.
discard-unused
merge-idents
reduce-idents
zindex
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using the advanced preset the order of the areas defined with grid-template-areas are not respected.
Expected behaviour
When I write:
I expect minified output to respect the order of the areas in
grid-template-areas
.Steps to reproduce
.project{display:grid;grid-template-areas:"b a" "a c"}
Version
7.0.4
Preset
advanced
Environment
Package details
Additional context
No response
The text was updated successfully, but these errors were encountered: