fix: panel spliter zindex

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-09-21 21:47:51 +08:00
parent b752a60db6
commit 23e428ad30
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 2 additions and 2 deletions

View File

@ -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" : "",
)}
/>

View File

@ -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);