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

rfs() doens't work inside calc() #333

Open
aerni opened this issue Dec 21, 2020 · 0 comments
Open

rfs() doens't work inside calc() #333

aerni opened this issue Dec 21, 2020 · 0 comments

Comments

@aerni
Copy link

aerni commented Dec 21, 2020

I'm using RFS v9.0.3 with PostCSS. The rfs() function doesn't work when wrapped in a calc() function.

Input:

margin-right: calc(rfs(2rem) * 2);

Output:

margin-right: rfs(2rem) * 2;

Expected Output:

margin-right: calc(calc(1.325rem + 0.9vw) * 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants