Closed valpuia604 closed 2 months ago
@valpuia604
I solved this problem, hope it helps you.
Laravel v11.0.9
Filament v3.2.81
Language switch v3.1
I think you can just do this:
/vendor/bezhansalleh/filament-language-switch/resources/views/language-switch.blade.php
replace
'justify-end' => str_contains($outsidePanelsPlacement, 'right'),
with
'right-0' => str_contains($outsidePanelsPlacement, 'right'),
If your theme does not have the right-0
attribute, you need to customize the theme and add it.
.right-0 {
right: 0px;
}
Now, it works great.
simple pages do not have render hooks in the topbar so the placement seems kinda off. any help would be appreciated
This is my code inside
AppServiceProvider
And this is the result. No matter how I try to change the position, it always ended up to
TopLeft
orBottomLeft
onlyLaravel
v11.2.0
Livewirev3.4.10
Filamentv3.2.63
Language switchv3.1.0