Skip to content

Commit

Permalink
fix: remove manual resizing for textfields
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoggers committed Apr 10, 2024
1 parent 93fb0ce commit cb7e0ef
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions plugins/toolbox/src/components/DefaultEditor/DefaultEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ export const DefaultEditor = (props: Props) => {
allowFileDownload,
downloadFileName,
downloadFileType,
inputProps,
outputProps,
minRows = 20,
} = props;
const { classes } = useStyles();
Expand Down Expand Up @@ -190,10 +188,6 @@ export const DefaultEditor = (props: Props) => {
className={classes.fullWidth}
value={input}
onChange={e => setInput(e.target.value)}
inputProps={{
style: { resize: 'vertical' },
...inputProps,
}}
minRows={minRows}
variant="outlined"
sx={{
Expand All @@ -218,10 +212,6 @@ export const DefaultEditor = (props: Props) => {
label={outputLabel}
value={output || ''}
className={classes.fullWidth}
inputProps={{
style: { resize: 'vertical' },
...outputProps,
}}
multiline
minRows={minRows}
variant="outlined"
Expand Down

0 comments on commit cb7e0ef

Please sign in to comment.