Skip to content

Commit

Permalink
Update DraggableText.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnyLe committed Jan 26, 2025
1 parent ac1747f commit cb00769
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cb00769

Please sign in to comment.