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

When converting negative numbers, the number 0 needs to take units #81

Open
edc-hui opened this issue Nov 17, 2021 · 6 comments
Open

When converting negative numbers, the number 0 needs to take units #81

edc-hui opened this issue Nov 17, 2021 · 6 comments

Comments

@edc-hui
Copy link

edc-hui commented Nov 17, 2021

image
When the value of left is negative, the conversion result is as shown in the figure, and the number 0 should take the unit.

Process on the return value of the createpxreplace method

@edc-hui
Copy link
Author

edc-hui commented Nov 17, 2021

@cuth

@cuiyajie
Copy link

Same error. After converting, 0px will transform to 0, that will cause error when using it in calc function.

@hemengke1997
Copy link

@yoyo837
Copy link

yoyo837 commented Oct 3, 2022

Same here.

@js2me
Copy link

js2me commented Jan 16, 2023

Same problem

@yoyo837
Copy link

yoyo837 commented Feb 19, 2024

Fixed in #106

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 a pull request may close this issue.

5 participants