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:
parent
a60da1ccab
commit
81568dbda3
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue