| ... | @@ -56,6 +56,10 @@ function MenuPopup({ | ... | @@ -56,6 +56,10 @@ function MenuPopup({ |
| 56 | <MenuPrimitive.Popup | 56 | <MenuPrimitive.Popup |
| 57 | className={cn( | 57 | className={cn( |
| 58 | "dropdown-glass relative flex origin-(--transform-origin) rounded-lg shadow-[0_16px_40px_-18px_rgb(0_0_0/55%)] outline-none focus:outline-none dark:shadow-[0_18px_44px_-18px_rgb(0_0_0/80%)]", | 58 | "dropdown-glass relative flex origin-(--transform-origin) rounded-lg shadow-[0_16px_40px_-18px_rgb(0_0_0/55%)] outline-none focus:outline-none dark:shadow-[0_18px_44px_-18px_rgb(0_0_0/80%)]", |
| | 59 | // Portaled menus can overlap an Electron window drag region (e.g. |
| | 60 | // the Review panel header). Drag hit-testing ignores z-index, so |
| | 61 | // the topmost row would stay unhoverable without this opt-out. |
| | 62 | "[-webkit-app-region:no-drag]", |
| 59 | !hasExplicitWidthClass && "min-w-32", | 63 | !hasExplicitWidthClass && "min-w-32", |
| 60 | className, | 64 | className, |
| 61 | )} | 65 | )} |