You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just had a look at the source of both hoping I could figure it out and submit a PR, but from what I can tell, they both look pretty similar and I can't see why px would be getting appended to the value.
Hopefully it's something simple!
The text was updated successfully, but these errors were encountered:
Make sure in your config file your line clamp settings are in quotes ("3" not 3) or PostCSS will convert it to a pixel value. We can probably coerce them to strings internally to avoid this but that is likely your problem 👍🏻
I just tried adding this plugin to a project. I was replacing an existing plugin with the same API (https://github.com/JamesHRowe/tailwindcss-line-clamp/blob/master/index.js).
However the outputted CSS looks like this with the new plugin:
I just had a look at the source of both hoping I could figure it out and submit a PR, but from what I can tell, they both look pretty similar and I can't see why
px
would be getting appended to the value.Hopefully it's something simple!
The text was updated successfully, but these errors were encountered: