FilamentF
Filament9mo ago
fpolli

Tailwind ignoring classes

I am making a custom view page and trying to use some tailwind classes. On a div I have this:
class="grow-0 shrink-0 w-[32%] basis-[32%] px-3 py-2 text-center font-semibold"

Some of the classes are applied, but others (grow-0 and the arbitraries) are not applied. They are ignored.
I added a tailwind.config.js file in my project root and defined content:
content: [
    "./resources/views/**/*.blade.php"
  ]

The only suggestion I have found from a search is the content path.
Was this page helpful?