mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user