File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/components/shared/ContextPanel Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 88} from "@/components/ui/collapsible" ;
99import { Icon } from "@/components/ui/icon" ;
1010import { VerticalResizeHandle } from "@/components/ui/resize-handle" ;
11- import { cn } from "@/lib/utils" ;
1211
1312import { ContextPanel } from "./ContextPanel" ;
1413
@@ -31,17 +30,15 @@ export function CollapsibleContextPanel({
3130 < Button
3231 variant = "ghost"
3332 size = "icon"
34- className = {
35- "absolute top-[95px] z-0 transition-all duration-300 bg-white rounded-r-md shadow-md p-0.5 pr-1 -translate-x-8"
36- }
33+ className = "absolute top-[95px] z-0 transition-all duration-300 bg-white rounded-r-none shadow-md -translate-x-9"
3734 aria-label = { open ? "Collapse context panel" : "Expand context panel" }
3835 >
3936 < Icon name = { open ? "PanelRightClose" : "PanelRightOpen" } />
4037 </ Button >
4138 </ CollapsibleTrigger >
4239 < div
43- className = { cn ( "relative h-full flex" , ! open && "!w-0" ) }
44- style = { { width : `${ DEFAULT_WIDTH } px` } }
40+ className = "relative h-full flex"
41+ style = { { width : open ? `${ DEFAULT_WIDTH } px` : "0px" } }
4542 >
4643 { open && (
4744 < VerticalResizeHandle
You can’t perform that action at this time.
0 commit comments