Handle table selection style with an overlay element

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-26 15:12:37 +04:00
parent cc93378996
commit 62d13a1539
10 changed files with 181 additions and 81 deletions

View File

@@ -7,10 +7,10 @@ import { tv } from "tailwind-variants";
export const tableColumnMenuVariants = tv({
slots: {
trigger: [
"z-10 flex items-center justify-center",
"z-20 flex items-center justify-center",
"rounded text-txt-tertiary bg-subtle hover:bg-border-solid cursor-grab",
"py-0.5 h-3",
],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-20"],
menu: ["rounded-lg border border-border-mid bg-level-0 p-1 shadow-md z-30"],
},
});