filament-language-switch
filament-language-switch copied to clipboard
partial fix for placement
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
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
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
PR Summary
-
Modification of
language-switch.blade.php
File- The design of a specific section of our website, managed by the
div
element inlanguage-switch.blade.php
file, has been updated. The sizing of this section has been changed to ensure it uses the full width available, improving our site's layout. - Also, the vertical placement of certain elements (governed by
top-0
andbottom-0
classes) will now adapt to the user’s settings (outsidePanelsPlacement
) for enhanced user experience. - Furthermore, the alignment of these elements (controlled by
justify-start
class) will also be conditioned by user preferences (outsidePanelsPlacement
), adding more customization possibilities.
- The design of a specific section of our website, managed by the