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

rem inside between is not calculating right #470

Closed
dongepulango opened this issue Dec 16, 2019 · 2 comments
Closed

rem inside between is not calculating right #470

dongepulango opened this issue Dec 16, 2019 · 2 comments

Comments

@dongepulango
Copy link

I'm wondering if it's just me but using rem inside between is not calculating right.

font-size: ${between(rem('34px'), rem('56px'))};

The calculated font-size is very small. From 56px it becomes 27px

Am I doing this wrong?

Thanks.

@bhough
Copy link
Contributor

bhough commented Dec 16, 2019

@dongepulango Likely related to #445 (fluidRange wraps between).

@bhough bhough closed this as completed Dec 16, 2019
@dongepulango
Copy link
Author

using same code in V4 I get this error:
Error: fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.

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

2 participants