change(ui) - filter dropdown overflow

This commit is contained in:
Shekar Siri 2022-07-04 11:23:40 +02:00
parent 60d462a4c0
commit 8e1ad7ec3d

View file

@ -13,6 +13,8 @@ const dropdownStyles = {
...provided,
whiteSpace: 'nowrap',
transition: 'all 0.3s',
overflow: 'hidden',
textOverflow: 'ellipsis',
backgroundColor: state.isFocused ? colors['active-blue'] : 'transparent',
color: state.isFocused ? colors.teal : 'black',
fontSize: '14px',
@ -59,7 +61,8 @@ const dropdownStyles = {
backgroundColor: '#fff',
boxShadow: '1px 1px 1px rgba(0, 0, 0, 0.1)',
position: 'absolute',
minWidth: 'fit-content',
width: 'unset',
maxWidth: '300px',
overflow: 'hidden',
zIndex: 100,
}),