fix: nested context menu UI (#8367)

This commit is contained in:
Aaryan Khandelwal 2025-12-17 20:46:10 +05:30 committed by GitHub
parent 508e332a23
commit 4cac953cd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 13 deletions

View file

@ -190,10 +190,7 @@ export function ContextMenuItem(props: ContextMenuItemProps) {
ref={setPopperElement}
style={styles.popper}
{...attributes.popper}
className={cn(
"fixed z-[35] min-w-[12rem] overflow-hidden rounded-md border-[0.5px] border-subtle-1 bg-surface-1 px-2 py-2.5 text-11",
"ring-1 ring-black ring-opacity-5"
)}
className="fixed z-[35] min-w-[12rem] overflow-hidden rounded-md border-[0.5px] border-subtle-1 bg-surface-1 px-2 py-2.5 text-11"
data-context-submenu="true"
>
<div ref={nestedMenuRef} className="max-h-72 overflow-y-scroll vertical-scrollbar scrollbar-sm">