From cb00769867516b3aa1a11374fec297f2990c2281 Mon Sep 17 00:00:00 2001 From: DonnyLe <98658081+DonnyLe@users.noreply.github.com> Date: Sat, 25 Jan 2025 20:16:03 -0500 Subject: [PATCH] Update DraggableText.tsx --- .../createFormTemplateEditor/DraggableText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/createFormTemplate/createFormTemplateEditor/DraggableText.tsx b/apps/web/src/components/createFormTemplate/createFormTemplateEditor/DraggableText.tsx index 1d4a415a..4bf42da1 100644 --- a/apps/web/src/components/createFormTemplate/createFormTemplateEditor/DraggableText.tsx +++ b/apps/web/src/components/createFormTemplate/createFormTemplateEditor/DraggableText.tsx @@ -29,13 +29,13 @@ export default function DraggableText({ bounds="parent" position={{ x: currentPosition.x, y: currentPosition.y }} size={{ height: currentPosition.height, width: currentPosition.width }} - minWidth={type == FieldType.Checkbox ? '30px' : '50px'} + minWidth={type == FieldType.Checkbox ? '10px' : '50px'} enableResizing={ type == FieldType.Checkbox ? { left: false, right: false, top: false, bottom: false } : {} } - minHeight={type == FieldType.Checkbox ? '30px' : '40px'} + minHeight={type == FieldType.Checkbox ? '10px' : '40px'} style={{ position: 'absolute', zIndex: 100000,