fix: panel spliter zindex
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
parent
b752a60db6
commit
23e428ad30
|
|
@ -39,7 +39,7 @@ export const PanelSplitter = (
|
|||
ref={ref}
|
||||
{...rest}
|
||||
className={cn(
|
||||
"absolute inset-0 z-[11] w-[2px] -translate-x-1/2 cursor-ew-resize bg-transparent hover:bg-gray-400 active:!bg-accent hover:dark:bg-neutral-500",
|
||||
"absolute inset-0 z-[1] w-[2px] -translate-x-1/2 cursor-ew-resize bg-transparent hover:bg-gray-400 active:!bg-accent hover:dark:bg-neutral-500",
|
||||
isDragging ? "bg-accent" : "",
|
||||
)}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
border-width: 1px;
|
||||
border-color: var(--fallback-bc, theme(colors.theme.accent.DEFAULT));
|
||||
|
||||
--bc: theme(colors.accent.foreground);
|
||||
--bc: theme(colors.background);
|
||||
--fallback-bc: var(--bc);
|
||||
--chkbg: var(--bc);
|
||||
--fallback-b1: theme(colors.background);
|
||||
|
|
|
|||
Loading…
Reference in New Issue