Dont let labels list expand too wide

This commit is contained in:
Jackson Harper
2022-04-11 15:20:07 -07:00
parent c2cf30624b
commit f0a725b7ef

View File

@ -41,7 +41,7 @@ type ActionDropdownProps = {
const ActionDropdown = (props: ActionDropdownProps): JSX.Element => {
return <Dropdown
showArrow={true}
css={{ m: '0px', p: '0px' }}
css={{ m: '0px', p: '0px', overflow: 'hidden', maxWidth: '265px' }}
side={props.layout == 'vertical' ? 'right' : 'bottom'}
sideOffset={props.layout == 'vertical' ? 8 : 0}
align={props.layout == 'vertical' ? 'start' : 'center'}