bezhanSalleh / filament-language-switch

A versatile and user-friendly plugin designed for Filament Panels.
MIT License
210 stars 45 forks source link

partial fix for placement #91

Open valpuia opened 5 months ago

valpuia commented 5 months ago

partial fix for #90

Another problem: If I use Placement::TopRight then the noti/account and lang-swith are place on top of each other (only on profile page) like this image Screenshot from 2024-04-09 11-24-00

I cannot run/install tailwind and it's dependencies because of below error (but I don't know how to fix for now) so I cannot check more. Bezhan, as you said in discord I've submitted this PR in order to look further from you

The error Screenshot from 2024-04-09 11-46-51

My guess for fixing this is to put like this

<div @class([
    ...
    '-right-5' => str_contains($outsidePanelsPlacement, 'top-right') // may need to check if it's profile cause others are working fine
])>

If this PR is not the right fix then feel free to close it

what-the-diff[bot] commented 5 months ago

PR Summary