filament-language-switch icon indicating copy to clipboard operation
filament-language-switch copied to clipboard

partial fix for placement

Open valpuia opened this issue 10 months ago • 1 comments

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

valpuia avatar Apr 09 '24 04:04 valpuia

PR Summary

  • Modification of language-switch.blade.php File
    • The design of a specific section of our website, managed by the div element in language-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 and bottom-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.

what-the-diff[bot] avatar Apr 09 '24 04:04 what-the-diff[bot]