0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-18 01:24:26 -05:00

feat(web): Context menu scrolls on small devices (#15367)

Context menu scrolls on small devices
This commit is contained in:
Mattia Natali 2025-01-15 21:48:26 +01:00 committed by GitHub
parent a60da1ccab
commit 81568dbda3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,9 +65,9 @@
aria-label={ariaLabel} aria-label={ariaLabel}
aria-labelledby={ariaLabelledBy} aria-labelledby={ariaLabelledBy}
bind:this={menuElement} bind:this={menuElement}
class:max-h-[100vh]={isVisible} class="{isVisible
class:max-h-0={!isVisible} ? 'max-h-screen max-h-svh'
class="flex flex-col transition-all duration-[250ms] ease-in-out outline-none" : 'max-h-0'} flex flex-col transition-all duration-[250ms] ease-in-out outline-none overflow-auto"
role="menu" role="menu"
tabindex="-1" tabindex="-1"
> >