Fix menu shadows

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-26 15:40:23 +04:00
parent 96168cbfb0
commit 0a0b01fa05
6 changed files with 6 additions and 6 deletions

View File

@@ -10,6 +10,6 @@ export const blockMenuVariants = tv({
"z-20 flex size-6 items-center justify-center", "z-20 flex size-6 items-center justify-center",
"rounded text-txt-tertiary hover:bg-subtle hover:text-txt-primary text-xl font-light cursor-pointer", "rounded text-txt-tertiary hover:bg-subtle hover:text-txt-primary text-xl font-light cursor-pointer",
], ],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"], menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-mid z-30"],
}, },
}); });

View File

@@ -12,7 +12,7 @@ import { MenuButton } from "./MenuButton";
const bubbleMenuVariants = tv({ const bubbleMenuVariants = tv({
slots: { slots: {
root: "flex flex-col items-stretch z-20 rounded-lg border border-border-mid bg-level-0 shadow-md", root: "flex flex-col items-stretch z-20 rounded-lg border border-border-mid bg-level-0 shadow-mid",
toolbar: "flex items-center gap-1 p-1", toolbar: "flex items-center gap-1 p-1",
linkInput: "flex items-center gap-1 border-t border-border-mid px-2 py-1.5", linkInput: "flex items-center gap-1 border-t border-border-mid px-2 py-1.5",
}, },

View File

@@ -10,6 +10,6 @@ export const optionsMenuVariants = tv({
"z-20 flex size-6 items-center justify-center", "z-20 flex size-6 items-center justify-center",
"rounded text-txt-tertiary hover:bg-subtle hover:text-txt-primary cursor-grab", "rounded text-txt-tertiary hover:bg-subtle hover:text-txt-primary cursor-grab",
], ],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"], menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-mid z-30"],
}, },
}); });

View File

@@ -10,6 +10,6 @@ export const tableCellMenuVariants = tv({
"z-20 flex size-5 items-center justify-center", "z-20 flex size-5 items-center justify-center",
"rounded text-border-info cursor-pointer", "rounded text-border-info cursor-pointer",
], ],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"], menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-mid z-30"],
}, },
}); });

View File

@@ -11,6 +11,6 @@ export const tableColumnMenuVariants = tv({
"rounded text-txt-tertiary bg-subtle hover:bg-border-solid cursor-grab", "rounded text-txt-tertiary bg-subtle hover:bg-border-solid cursor-grab",
"py-0.5 h-3", "py-0.5 h-3",
], ],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"], menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-mid z-30"],
}, },
}); });

View File

@@ -11,6 +11,6 @@ export const tableRowMenuVariants = tv({
"rounded text-txt-tertiary bg-subtle hover:bg-border-solid cursor-grab", "rounded text-txt-tertiary bg-subtle hover:bg-border-solid cursor-grab",
"px-0.5 w-3", "px-0.5 w-3",
], ],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"], menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-mid z-30"],
}, },
}); });