Skip to content

Commit

Permalink
set allowed child types auto width
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Sep 29, 2023
1 parent 7a2eb99 commit 410a79e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const AllowedChildTypes: React.FC<ReactClientFieldSetting & { classes?: A
case 'new':
return (
<ClickAwayListener onClickAway={handleClickAway}>
<div>
<div style={{ display: 'inline-block', minWidth: '350px' }}>
<InputLabel shrink htmlFor={props.settings.Name} required={props.settings.Compulsory}>
{props.settings.DisplayName}
</InputLabel>
Expand Down Expand Up @@ -264,7 +264,6 @@ export const AllowedChildTypes: React.FC<ReactClientFieldSetting & { classes?: A
onClick={handleOnClick}
onChange={handleInputChange}
placeholder={INPUT_PLACEHOLDER}
fullWidth={true}
value={inputValue}
className={classes.input}
/>
Expand Down

0 comments on commit 410a79e

Please sign in to comment.