-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Object styles with line clamp adding 'px' #561
Comments
@jschr You may use string literal |
@TrySound That unfortunately doesn't work either: https://codesandbox.io/s/302vqy3w6p. Looks like emotion makes an exception for lineClamp but this needs to be |
I'd be happy to accept a PR 👍 Please make sure to add a small test for this. |
For anyone still experiencing this issue if you are not using the most up to date emotion package, wrap the value in |
I am still running into this with @emotion/css 11.1.3. Passing as a string works around the behavior but fails typecheck. Is this a regression, or are types potentially just wrong? |
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given. |
Apologies, this was my misunderstanding, I was attempting to use regular |
emotion
version: 8.0.12react
version: 16.0.0Relevant code.
What happened:
Expected:
Reproducible:
https://codesandbox.io/s/430pkxw90x
Workarounds:
^ note the first space before the
-
.The text was updated successfully, but these errors were encountered: