Skip to content

Commit

Permalink
line up icons
Browse files Browse the repository at this point in the history
  • Loading branch information
graue committed Feb 1, 2024
1 parent d89ea95 commit 4f77d10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/SearchAutocompleteDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ function AutocompleteItem({ onClick, onMouseDown, onRemoveClick, icon, text }) {
onMouseDown={onMouseDown}
onRemoveClick={onRemoveClick}
>
{React.cloneElement(icon, { className: 'relative top-0.5 my-0 mx-2' })}
{React.cloneElement(icon, {
className: 'relative top-0.5 my-0 -ml-2 md:ml-6 mr-2',
})}
<span className="align-middle">{text}</span>
</SelectionListItem>
);
Expand Down

0 comments on commit 4f77d10

Please sign in to comment.