Skip to content

Commit eabc84e

Browse files
authored
Chore/remove fixed height (#2142)
remove fixed height
1 parent 0511ea1 commit eabc84e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/ui/src/ui-component/dropdown/AsyncDropdown.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const AsyncDropdown = ({
114114
disabled={disabled}
115115
disableClearable={disableClearable}
116116
size='small'
117-
sx={{ width: '100%', height: '52px' }}
117+
sx={{ mt: 1, width: '100%' }}
118118
open={open}
119119
onOpen={() => {
120120
setOpen(true)

packages/ui/src/ui-component/dropdown/Dropdown.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const Dropdown = ({ name, value, options, onSelect, disabled = false, dis
2525
let [internalValue, setInternalValue] = useState(value ?? 'choose an option')
2626

2727
return (
28-
<FormControl sx={{ width: '100%', height: '52px' }} size='small'>
28+
<FormControl sx={{ mt: 1, width: '100%' }} size='small'>
2929
<Autocomplete
3030
id={name}
3131
disabled={disabled}

packages/ui/src/ui-component/dropdown/MultiDropdown.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const MultiDropdown = ({ name, value, options, onSelect, formControlSx =
3030
let [internalValue, setInternalValue] = useState(value ?? [])
3131

3232
return (
33-
<FormControl sx={{ width: '100%', height: '52px', ...formControlSx }} size='small'>
33+
<FormControl sx={{ mt: 1, width: '100%', ...formControlSx }} size='small'>
3434
<Autocomplete
3535
id={name}
3636
disabled={disabled}

0 commit comments

Comments
 (0)