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
When I try to use negative value in classname, it says there is no matched types.
For example, when I set left to -16px, we can set in classname "-left-4" but it shows error in this module.
I was tried to find solution without modifying inside module. But there was no way.
Solution:
At first, I have changed npm module and it worked.
Environment:
Problem1 - Negative value
When I try to use negative value in classname, it says there is no matched types.
For example, when I set left to -16px, we can set in classname "-left-4" but it shows error in this module.
I was tried to find solution without modifying inside module. But there was no way.
Solution:
At first, I have changed npm module and it worked.
node_modules/tailwindcss-classnames/dist/bundle.ts
Or
After I did like first solution, I was tried to find another solution.
I generated custom module named
tailwindcss-classnames.ts
and made changes.Problem2 - Outline offset
When I tried change outline offset in tailwind css, we should set
outline-offset-2
.But there is no way to set outline offset.
Solution
The text was updated successfully, but these errors were encountered: