Skip to content

Commit

Permalink
fix (NumericControl, EnumControl): remove explicit col spans (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiplet authored Sep 18, 2024
1 parent 1bc8cc1 commit 3799528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controls/EnumControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const EnumControl = (props: ControlProps) => {
validateTrigger={["onBlur"]}
{...formItemProps}
>
<Col span={18}>{selector}</Col>
<Col>{selector}</Col>
</Form.Item>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/controls/NumericControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const NumericControl = (props: ControlProps) => {
validateTrigger={["onBlur"]}
{...formItemProps}
>
<Col span={18}>{InputNumber({ ...props })}</Col>
<Col>{InputNumber({ ...props })}</Col>
</Form.Item>
)
}
Expand Down

0 comments on commit 3799528

Please sign in to comment.