fix: panel spiltter z-index
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
parent
7dbf48b92c
commit
f3798c5a2a
|
|
@ -39,7 +39,7 @@ export const PanelSplitter = (
|
|||
ref={ref}
|
||||
{...rest}
|
||||
className={cn(
|
||||
"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",
|
||||
"absolute inset-0 z-[3] 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" : "",
|
||||
)}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ const FeedResponsiveResizerContainer = ({
|
|||
<div
|
||||
className={cn(
|
||||
"shrink-0 overflow-hidden",
|
||||
"absolute inset-y-0 z-10",
|
||||
"absolute inset-y-0 z-[2]",
|
||||
feedColumnTempShow && !feedColumnShow && "shadow-drawer-right z-[12] border-r",
|
||||
!feedColumnShow && !feedColumnTempShow ? "-translate-x-full delay-200" : "",
|
||||
!isDragging ? "duration-200" : "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue