Fixing list view for longer texts and layout

This commit is contained in:
Rupin Khandelwal 2022-09-15 09:04:06 -06:00
parent a01194d780
commit e6ef9c98ca

View file

@ -27,10 +27,10 @@ const Item = styled('li', {
listStyleType: 'none',
p: '8px',
borderRadius: '5px',
textOverflow: 'ellipsis',
display: 'flex',
justifyContent: 'flex-start',
width: '95%',
overflow: 'auto',
alignItems: 'center',
'& svg': {
marginRight: '10px',
@ -197,10 +197,8 @@ export function LibrarySearchBar(props: LibrarySearchBarProps): JSX.Element {
: 'transparent',
}}
>
<Item>
<Clock size={20} />
{item}
</Item>
<Clock size={20} />
<Item>{item}</Item>
<X
width={20}
height={20}