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
For example, if we have a Box component and try to setup responsive class names for cols, gaps, etc. the dynamic class names will only be resolved if they already exist in the code without being added dynamically, if not, they do not work.
Possible solution:
for Tailwind v3: we could include the classes in the safelit
for Tailwind v4: there is no way, as of yet, to safelist classes, we could just add all the responsive variants for each gap and grid-cols class
The text was updated successfully, but these errors were encountered:
In the tailwind documentation, it clearly states that class names shouldn't be build dynamically. This is obviously not the case for responsive classes.
For example, if we have a Box component and try to setup responsive class names for cols, gaps, etc. the dynamic class names will only be resolved if they already exist in the code without being added dynamically, if not, they do not work.
Possible solution:
The text was updated successfully, but these errors were encountered: