mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix: make small fields draggable (#1551)
This commit is contained in:
@ -214,6 +214,12 @@ export const FieldItem = ({
|
||||
onDragStart={() => onFieldActivate?.()}
|
||||
onResizeStart={() => onFieldActivate?.()}
|
||||
enableResizing={!fixedSize}
|
||||
resizeHandleStyles={{
|
||||
bottom: { bottom: -8, cursor: 'ns-resize' },
|
||||
top: { top: -8, cursor: 'ns-resize' },
|
||||
left: { cursor: 'ew-resize' },
|
||||
right: { cursor: 'ew-resize' },
|
||||
}}
|
||||
onResizeStop={(_e, _d, ref) => {
|
||||
onFieldDeactivate?.();
|
||||
onResize?.(ref);
|
||||
|
||||
Reference in New Issue
Block a user