Skip to content

Commit c49b755

Browse files
committed
fix(ResizablePanel): cursor
1 parent 5adedaf commit c49b755

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/rich-papayas-design.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Fix the cursor type for resizing ResizablePanel in vertical direction.

src/components/layout/ResizablePanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ const HandlerElement = tasty({
6464
position: 'absolute',
6565
zIndex: 1,
6666
cursor: {
67-
'': 'col-resize',
67+
'': 'row-resize',
68+
horizontal: 'col-resize',
6869
disabled: 'not-allowed',
6970
},
7071
fill: {

0 commit comments

Comments
 (0)