Description
As best I can tell, the styling provided by this gem seems off compared to what it should be. I noticed this when attempting to use components from TailwindUI, where copy/pasting those components should produce the exact styling previewed there.
For reference here is a screenshot of an input from the TailwindUI site:
When I attempt to build that component in an app with the most basic/vanilla setup possible (ie. a new Rails 8 project with -css tailwind
argument), I get this:
As a troubleshooting step, I setup the equivalent app using Vite as a build path instead of the tailwindcss-rails
gem. Here's the output there:
As you can see, the build with Vite looks correct, while there are several styling problems with the build through tailwindcss-rails
. Both apps look to be running the same version of Tailwind under the hood, so I can only assume that something is off with the configuration provided by this gem.