fix(web): irc view mobile optimizations (#1714)

* fix(web): out of bound options menu in IRC settings on mobile

* fix(web): menu width

* refactor(web): simplify css
This commit is contained in:
martylukyy 2024-09-11 19:50:37 +02:00 committed by GitHub
parent 00b5728b4a
commit 080274e4da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -789,7 +789,8 @@ const IRCLogsDropdown = () => {
leaveTo="transform opacity-0 scale-95"
>
<MenuItems
className="absolute z-10 right-0 mt-2 px-3 py-2 bg-white dark:bg-gray-825 divide-y divide-gray-200 dark:divide-gray-750 rounded-md shadow-lg border border-gray-750 focus:outline-none"
anchor={{ to: 'bottom end', padding: '8px' }} // padding: '8px' === m-2
className="absolute z-10 mt-2 px-3 py-2 bg-white dark:bg-gray-825 divide-y divide-gray-200 dark:divide-gray-750 rounded-md shadow-lg border border-gray-750 focus:outline-none"
>
<MenuItem>
{() => (