fix: ui fixes in emoji picker
This commit is contained in:
@@ -97,7 +97,10 @@ export function CommentMenu({
|
||||
ref={menuRef}
|
||||
role="menu"
|
||||
style={{ position: "fixed", top: pos.top, right: pos.right }}
|
||||
className="z-[101] min-w-40 rounded-lg border border-border bg-card shadow-lg py-1 animate-in fade-in-0 zoom-in-95"
|
||||
// pointer-events-auto: the comments drawer is modal (vaul sets
|
||||
// body { pointer-events: none } while open); this portaled menu
|
||||
// would be click-through without re-enabling it here.
|
||||
className="pointer-events-auto z-[101] min-w-40 rounded-lg border border-border bg-card shadow-lg py-1 animate-in fade-in-0 zoom-in-95"
|
||||
>
|
||||
{canPin ? (
|
||||
<MenuItem
|
||||
|
||||
Reference in New Issue
Block a user