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

max-content not supported? #112

Open
lsimichael opened this issue Aug 7, 2020 · 2 comments
Open

max-content not supported? #112

lsimichael opened this issue Aug 7, 2020 · 2 comments

Comments

@lsimichael
Copy link

This line does not compile, I think because it does not understand max-content keyword:

width: calc(max-content + (.5 * var(--global-button-padding-right, var(--global-button-padding-horizontal, 0px))));

@alexander-akait
Copy link
Collaborator

What is output?

@Semigradsky
Copy link
Member

@lsimichael looks like you can't calc with an intrinsic unit and an extrinsic unit together (auto + 1rem, max-content * 2, etc)

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

3 participants