File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -116,17 +116,20 @@ export const LinearCombobox = ({
116
116
} }
117
117
className = "group rounded-md flex justify-between items-center w-full text-[0.8125rem] leading-normal text-primary"
118
118
>
119
- < div className = "flex items-center" >
120
- { option . icon && (
121
- < option . icon className = "mr-2 size-4 fill-muted-foreground group-hover:fill-primary" />
122
- ) }
123
- < span > { option . label } </ span >
119
+ < div className = "flex items-center gap-x-2" >
120
+ < div className = "min-w-3 text-center" > { index } </ div >
121
+ < div className = "flex items-center" >
122
+ { option . icon && (
123
+ < option . icon className = "mr-2 size-4 fill-muted-foreground group-hover:fill-primary" />
124
+ ) }
125
+ < span > { option . label } </ span >
126
+ </ div >
124
127
</ div >
125
- < div className = "flex items-center" >
128
+
129
+ < div >
126
130
{ selectedOption ?. value === option . value && (
127
131
< CheckIcon className = "mr-3 size-4 fill-muted-foreground group-hover:fill-primary" />
128
132
) }
129
- { ! isSearching && < span className = "text-xs" > { index } </ span > }
130
133
</ div >
131
134
</ CommandItem >
132
135
) ) }
You can’t perform that action at this time.
0 commit comments