We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
px
so the next code:
className={` no-underline black db overflow-hidden ${css({ display: '-webkit-box', '-webkit-line-clamp': 2, '-webkit-box-orient': 'vertical', [bpMinSM]: { '-webkit-line-clamp': 1, }, })} `}
outputs to:
display: -webkit-box; -webkit-line-clamp: 2px; -webkit-box-orient: vertical;
Which is not correct for sure (because of px concatenated).
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
having the same issue with z-index: className={css({ "z-index": 11000 })}
className={css({ "z-index": 11000 })}
Also tried it with "11000" - still same issue.
"11000"
Sorry, something went wrong.
We had the same problem and put it directly on the element
<p style={{ ‘-webkit-line-clamp’: ‘2’ }}> "hello mum " </p>
I am sure there must be a better solution, but leaving this here to help anyone else,
similar to #388
Giving this a bump as I have also encountered the problem with z-index. In case anyone else hits this a key of zIndex works fine
zIndex
No branches or pull requests
so the next code:
outputs to:
Which is not correct for sure (because of
px
concatenated).Am I doing something wrong?
The text was updated successfully, but these errors were encountered: