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

during compression, strips the unit of 0 only for <length> types. #2754

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

yukulele
Copy link

@yukulele yukulele commented Feb 11, 2023

What:

During compression, the 0+unit value now only be striped if unit is of type <length>

Why:

Some units should not be removed (0rad, 0grad, 0turn, 0hz, 0dpi, ...)

How:

I now only allow type <length> to be striped

Checklist:

  • Documentation
  • Unit Tests
  • Code complete
  • Changelog

@netlify
Copy link

netlify bot commented Feb 11, 2023

Deploy Preview for stylus-docs canceled.

Name Link
🔨 Latest commit 3ebd5f6
🔍 Latest deploy log https://app.netlify.com/sites/stylus-docs/deploys/63e7ac3e5500df0008a44e3d

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.

None yet

1 participant