diff --git a/components/ui/context-menu.tsx b/components/ui/context-menu.tsx index c22f3dfc9..956223a1f 100644 --- a/components/ui/context-menu.tsx +++ b/components/ui/context-menu.tsx @@ -582,7 +582,7 @@ export function ContextMenuItem({ {hint} ) : ( - {label} + {label} )} {/* Key hints mean nothing without a keyboard: hidden on touch (R8). */} {shortcut && ( @@ -720,7 +720,7 @@ export function ContextMenuSubMenu({ data-submenu-panel="" aria-label={label} onPlaced={onPanelPlaced} - className="min-w-[180px] bg-background rounded-md shadow-lg border border-border" + className="min-w-[180px] max-w-[min(20rem,calc(100vw-20px))] bg-background rounded-md shadow-lg border border-border" role="menu" >