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

Validation not allowing max() for width #51

Open
kylemh opened this issue Nov 20, 2022 · 1 comment
Open

Validation not allowing max() for width #51

kylemh opened this issue Nov 20, 2022 · 1 comment

Comments

@kylemh
Copy link

kylemh commented Nov 20, 2022

I'm getting a validation error for width: max(100%, 200px);

@Lamecarlate
Copy link

Same here, for min().

I did some tests:

width: min(60ch, 100%);
width: min(60ch, 2rem);
width: min(60ch, calc(100% - 2rem));

are all triggering a validation error, while:

width: min(60ch, calc(100% - var(--spacing-xl)));

is not.

Maybe it can help to narrow the issue.

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