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
@@ -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 && (