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 found another one! Percentage widths (<div class="w-1/2 ... ">w-1/2</div>) can use a slash character.
Also, I patched the FromStr implementation to allow these characters and everything is working perfectly for me. If there isn't a specific reason to lock the allowed characters down so tightly, I don't mind putting together a PR.
Tailwinds CSS uses some class naming schemes that are not supported in the FromStr implementation. The examples I found when poking around are:
<div class="absolute h-14 w-14 -left-4 -top-4 ..."></div>
)<div class="top-[3px]">
)<div class="top-4 md:top-6">
)Looks like the FromStr implementation just needs to support leading-negatives then colons and square brackets in the middle.
The text was updated successfully, but these errors were encountered: