style: Adjusted dropdown menu maxHeight to 55vh. #52

- Adjusted the maxHeight property of the dropdown menu to 55vh from 80vh.
This commit is contained in:
kangfenmao 2024-09-09 13:03:51 +08:00
parent 9ff65441ef
commit f217950b13

View File

@ -40,7 +40,7 @@ const SelectModelDropdown: FC<Props & PropsWithChildren> = ({ children, model, o
<DropdownMenu <DropdownMenu
menu={{ menu={{
items, items,
style: { maxHeight: '80vh', overflow: 'auto' }, style: { maxHeight: '55vh', overflow: 'auto' },
selectedKeys: model ? [getModelUniqId(model)] : [] selectedKeys: model ? [getModelUniqId(model)] : []
}} }}
trigger={['click']} trigger={['click']}