Skip to content

Commit

Permalink
Merged PR 2576: 11499 displaying icon and option in one line
Browse files Browse the repository at this point in the history
displaying icon and option in one line
  • Loading branch information
Aleksy Lisowski authored and piotrczarnas committed Apr 9, 2024
2 parents 2fb83f0 + 0561028 commit a5c8d25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dqops/src/main/frontend/src/components/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ const Select = ({
<div
data-testid="select-option"
key={index}
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : ''
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : '',
option.icon ? 'flex items-center gap-x-2' : ''
)}
onClick={() => handleClick(option)}
>
Expand Down

0 comments on commit a5c8d25

Please sign in to comment.