Skip to content

Commit

Permalink
fix: panel spliter zindex
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Sep 21, 2024
1 parent b752a60 commit 23e428a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/renderer/src/components/ui/divider/PanelSpliter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "",
)}
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/renderer/src/styles/tailwind-extend.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 23e428a

Please sign in to comment.