diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-09 22:46:10 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-09 22:46:10 +0200 |
| commit | 6ba10211496559172a121d423622883cd7677bca (patch) | |
| tree | 2817a6ea52efb8176653db40382f852eda03bb5c /apps/web/src/components/ui/resizable.tsx | |
| parent | 059a4f4205a50841bdc8b33c940a9a88828d5f50 (diff) | |
| download | opencut-6ba10211496559172a121d423622883cd7677bca.tar.gz | |
fix: make panels resizable
Diffstat (limited to 'apps/web/src/components/ui/resizable.tsx')
| -rw-r--r-- | apps/web/src/components/ui/resizable.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/web/src/components/ui/resizable.tsx b/apps/web/src/components/ui/resizable.tsx index 7f9ea66e..8f3cb2e8 100644 --- a/apps/web/src/components/ui/resizable.tsx +++ b/apps/web/src/components/ui/resizable.tsx @@ -29,12 +29,11 @@ const ResizableHandle = ({ }) => ( <ResizablePrimitive.PanelResizeHandle className={cn( - "hidden", + "relative w-0 bg-transparent cursor-col-resize data-[panel-group-direction=vertical]:h-0 data-[panel-group-direction=vertical]:cursor-row-resize", className )} {...props} - > - </ResizablePrimitive.PanelResizeHandle> + /> ); export { ResizablePanelGroup, ResizablePanel, ResizableHandle }; |
