1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00

fix: multiline textarea resizing for json input (#4463)

This commit is contained in:
Shreyans Gandhi 2023-08-23 06:53:12 -07:00 committed by GitHub
parent 6501c2e33b
commit 604ec5a9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,8 +86,12 @@ const StyledFieldColumn = styled('div')(({ theme }) => ({
},
}));
const StyledInput = styled(Input)(() => ({
const StyledInput = styled(Input)(({ theme }) => ({
width: '100%',
'& textarea': {
minHeight: theme.spacing(3),
resize: 'vertical',
},
}));
const StyledPercentageContainer = styled('div')(({ theme }) => ({