diff options
Diffstat (limited to 'packages/ui/src/components/resize-handle.css')
| -rw-r--r-- | packages/ui/src/components/resize-handle.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/ui/src/components/resize-handle.css b/packages/ui/src/components/resize-handle.css new file mode 100644 index 000000000..9344402c6 --- /dev/null +++ b/packages/ui/src/components/resize-handle.css @@ -0,0 +1,20 @@ +[data-component="resize-handle"] { + position: absolute; + z-index: 10; + + &[data-direction="horizontal"] { + inset-block: 0; + inset-inline-end: 0; + width: 8px; + transform: translateX(50%); + cursor: ew-resize; + } + + &[data-direction="vertical"] { + inset-inline: 0; + inset-block-start: 0; + height: 8px; + transform: translateY(-50%); + cursor: ns-resize; + } +} |
