Chore/remove fixed height (#2142)

remove fixed height
feature/OpenAI-Vision flowise-components@1.6.6
Henry Heng 2024-04-09 16:21:37 +01:00 committed by GitHub
parent 0511ea1f56
commit eabc84ee9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ export const AsyncDropdown = ({
disabled={disabled}
disableClearable={disableClearable}
size='small'
sx={{ width: '100%', height: '52px' }}
sx={{ mt: 1, width: '100%' }}
open={open}
onOpen={() => {
setOpen(true)

View File

@ -25,7 +25,7 @@ export const Dropdown = ({ name, value, options, onSelect, disabled = false, dis
let [internalValue, setInternalValue] = useState(value ?? 'choose an option')
return (
<FormControl sx={{ width: '100%', height: '52px' }} size='small'>
<FormControl sx={{ mt: 1, width: '100%' }} size='small'>
<Autocomplete
id={name}
disabled={disabled}

View File

@ -30,7 +30,7 @@ export const MultiDropdown = ({ name, value, options, onSelect, formControlSx =
let [internalValue, setInternalValue] = useState(value ?? [])
return (
<FormControl sx={{ width: '100%', height: '52px', ...formControlSx }} size='small'>
<FormControl sx={{ mt: 1, width: '100%', ...formControlSx }} size='small'>
<Autocomplete
id={name}
disabled={disabled}