Skip to content

Commit a5c8d25

Browse files
Aleksy Lisowskipiotrczarnas
Aleksy Lisowski
authored andcommitted
Merged PR 2576: 11499 displaying icon and option in one line
displaying icon and option in one line
2 parents 2fb83f0 + 0561028 commit a5c8d25

File tree

1 file changed

+2
-1
lines changed
  • dqops/src/main/frontend/src/components/Select

1 file changed

+2
-1
lines changed

dqops/src/main/frontend/src/components/Select/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ const Select = ({
138138
<div
139139
data-testid="select-option"
140140
key={index}
141-
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : ''
141+
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : '',
142+
option.icon ? 'flex items-center gap-x-2' : ''
142143
)}
143144
onClick={() => handleClick(option)}
144145
>

0 commit comments

Comments
 (0)