-
Notifications
You must be signed in to change notification settings - Fork 74
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
values that should be <length> | <percentage> accept any string as a value #163
Comments
This would be great! String templates is something that should be introduced. But concerning properties that contains |
@frenic I see what you mean, I did not consider calc. However you could allow any string only inside the calc() function. here is an example: playground This allows for single values such as However, the types are becoming too deep. Not sure if that can be fixed. So I can understand this being undesirable. |
Any fresh thoughts on this? |
This seems like a nice solution. |
Duplicated here #166 |
Any updates ont this? |
Example:
When I look up the definition it is like this:
Which essentially allows any string. I think a better approach would be something like this:
This would need to be updated for a lot of properties tho, not just paddingRight.
Is this a change you would be interested in?
The text was updated successfully, but these errors were encountered: