fix: increase tooltip z-index to z-1700 for overlay visibility

Tooltips were hidden behind LiteGraphCanvasSplitterOverlay (z-999)
because TooltipPortal renders to <body> with only z-50. Align with
Popover content z-index (z-1700).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dante01yoon
2026-03-24 22:40:30 +09:00
parent 9af9dabd43
commit 842ef48434

View File

@@ -2,7 +2,7 @@ import type { VariantProps } from 'cva'
import { cva } from 'cva'
export const tooltipVariants = cva({
base: 'z-50 select-none border border-node-component-tooltip-border bg-node-component-tooltip-surface px-4 py-2 text-node-component-tooltip shadow-interface',
base: 'z-1700 select-none border border-node-component-tooltip-border bg-node-component-tooltip-surface px-4 py-2 text-node-component-tooltip shadow-interface',
variants: {
size: {
small: 'rounded-lg text-xs leading-none',