mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
refactor: handle overflow in menulist
This commit is contained in:
committed by
Carlos Valente
parent
44b0cfd928
commit
6be6e5fd8d
@@ -119,7 +119,7 @@ function MultiOption(props: EditFormMultiOptionProps) {
|
|||||||
<MenuButton as={Button} variant='ontime-subtle-white' position='relative' width='fit-content' fontWeight={400}>
|
<MenuButton as={Button} variant='ontime-subtle-white' position='relative' width='fit-content' fontWeight={400}>
|
||||||
{paramField.title} <IoChevronDown style={{ display: 'inline' }} />
|
{paramField.title} <IoChevronDown style={{ display: 'inline' }} />
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuList>
|
<MenuList overflow='auto' maxHeight='200px'>
|
||||||
<MenuOptionGroup
|
<MenuOptionGroup
|
||||||
type='checkbox'
|
type='checkbox'
|
||||||
value={paramState}
|
value={paramState}
|
||||||
|
|||||||
Reference in New Issue
Block a user