Closed Lupennat closed 9 months ago
Thanks for this!
One problem: this banner component is being used in non-Filament apps as well as Filament. I have apps where Filament is for admins only, and clicking impersonate takes me to a Jetstream customer-facing UI, where I have added the banner component to my main layout file.
So we can't change the CSS in ways that breaks this banner in those scenarios. Modifying the html
is how this works globally for non-Filament apps.
I wonder if we just need to break out the banner component and have one dedicated for Filament, and one for everything else. It's either that, or this CSS change needs to fix Filament while still leaving the html
margin for everything else.
OK I understand the problem you highlight.
I made a change to make the css rule active only when included via filament hook, this way the original behavior is preserved.
any feedback about last changes?
+1
Merge?
Closing this in favor of #61, which has now been merged.
fix gap on Filament Sidebar