Skip to content

fix(postcss-convert-values): preserve percent sign in length-percentage syntax#1702

Merged
ludofischer merged 1 commit intocssnano:masterfrom
Multiply:fix/length-percentage
May 12, 2025
Merged

fix(postcss-convert-values): preserve percent sign in length-percentage syntax#1702
ludofischer merged 1 commit intocssnano:masterfrom
Multiply:fix/length-percentage

Conversation

@Multiply
Copy link
Copy Markdown
Contributor

Currently there's a check to preserve the percent sign for syntax: "<percentage>", this simply adds <length-percentage> as well. (MDN reference)

While debugging tailwindlabs/tailwindcss#17977 I found #1695 which I initially thought would fix my underlying issue, until I noticed that I am having the issue with <length-percentage> and not <percentage>.

Copy link
Copy Markdown
Collaborator

@ludofischer ludofischer left a comment

Choose a reason for hiding this comment

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

Thanks!

@ludofischer ludofischer merged commit 27710c5 into cssnano:master May 12, 2025
13 checks passed
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.

2 participants