fix: enable pointer events for action buttons in media preview (#790)

This commit is contained in:
Konv Suu 2024-10-07 11:46:28 +08:00 committed by GitHub
parent dc1f6c1bfe
commit dcb765ecb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ const Wrapper: Component<{
{children}
<RootPortal>
<div
className="fixed bottom-4 right-4 z-[99] flex gap-3 text-white/70 [&_button]:hover:text-white"
className="pointer-events-auto fixed bottom-4 right-4 z-[99] flex gap-3 text-white/70 [&_button]:hover:text-white"
onClick={stopPropagation}
>
{showActions && (