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

box-shadow property not respecting strict unary operator with 0 #2170

Closed
mikokofuyu opened this issue Feb 8, 2024 · 0 comments
Closed

box-shadow property not respecting strict unary operator with 0 #2170

mikokofuyu opened this issue Feb 8, 2024 · 0 comments

Comments

@mikokofuyu
Copy link

mikokofuyu commented Feb 8, 2024

I have the following sass code. I believe this issue is related to: https://sass-lang.com/documentation/breaking-changes/strict-unary/

box-shadow:  0px (-1px) 12px #fff;

When I am compiling this sass file it's output is the following

box-shadow:  0-1px 12px #fff;

However when I use any other px value other than 0, for example:

box-shadow:  2px (-1px) 12px #fff;

compiles to the following expected value:

box-shadow:  2px -1px 12px #fff;
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

No branches or pull requests

1 participant