FilamentF
Filament2y ago
19 replies
Krzysztof

Tailwind class "!" prefix removed when using Panel from custom package

Hello! I've created a Laravel package and a panel provider inside. Everything works just fine however I have a strange issue with tailwind. It does not matter whether I add custom vite theme to the panel or just use a default theme.

There is a
!max-w-[14rem]
class in dropdown by default. I can see this class in css output generated by Filament and also in my custom theme. But when I load a panel from my package, the
!
prefix is gone in html! When I have a fresh Laravel app with filament inside, the prefix is there.

Any ideas what could I check to debug it?
Screenshot_2024-08-01_at_14.38.56.png
Screenshot_2024-08-01_at_14.40.58.png
Was this page helpful?