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 some reason on new apps the styling is not working correctly when I deploy my Ruby on Rails app with TailwindCSS to production using Kamal
The styling works properly when developing locally but when I push to production it breaks. Some things work like background colors and text colors rounded.
But other things don't work like padding.
Its very strange, this has never happened before on earlier versions it just happened when trying to create some apps in the past week
The text was updated successfully, but these errors were encountered:
indigotechtutorials
changed the title
Styling not working when pushing to production
Styling not working when pushing to production ( padding, margin )
Jun 5, 2025
Same problem. I tried to remove the minification with ENV["TAILWINDCSS_DEBUG"] = "1" but it does not work also
I just switched back to Tailwind CSS v3 and things immediately worked after wards when pushing to production. So it seems like its an issue with v4 specifically
For some reason on new apps the styling is not working correctly when I deploy my Ruby on Rails app with TailwindCSS to production using Kamal
The styling works properly when developing locally but when I push to production it breaks. Some things work like background colors and text colors rounded.
But other things don't work like padding.
Its very strange, this has never happened before on earlier versions it just happened when trying to create some apps in the past week
The text was updated successfully, but these errors were encountered: