Tailwind Classes Not Applying After Upgrading to v4.x
I've been using the following code:
This worked fine on v3.x, and the Tailwind classes were properly applied. After upgrading to v4.x, those classes no longer seem to take effect. No changes were made to this specific part of the code during the upgrade.
This worked fine on v3.x, and the Tailwind classes were properly applied. After upgrading to v4.x, those classes no longer seem to take effect. No changes were made to this specific part of the code during the upgrade.
Solution
If you don't have a custom theme, you need to start with that.
Or if those 2 are the only classes, just apply CSS
Or if those 2 are the only classes, just apply CSS
style="border-radius: 1rem; width: 100%;"