File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const SelectLabel = forwardRef<
96
96
ElementRef < typeof SelectPrimitive . Label > ,
97
97
ComponentPropsWithoutRef < typeof SelectPrimitive . Label >
98
98
> ( ( { className, ...props } , ref ) => (
99
- < SelectPrimitive . Label ref = { ref } className = { cx ( "py-1.5 pl-8 pr-2 text-sm font-semibold" , className ) } { ...props } />
99
+ < SelectPrimitive . Label ref = { ref } className = { cx ( "px-2 py-1.5 text-sm font-semibold" , className ) } { ...props } />
100
100
) ) ;
101
101
SelectLabel . displayName = SelectPrimitive . Label . displayName ;
102
102
@@ -107,17 +107,16 @@ const SelectItem = forwardRef<
107
107
< SelectPrimitive . Item
108
108
ref = { ref }
109
109
className = { cx (
110
- "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-blue-600 focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
110
+ "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-blue-600 focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
111
111
className ,
112
112
) }
113
113
{ ...props }
114
114
>
115
- < span className = "absolute left -2 flex h-3.5 w-3.5 items-center justify-center" >
115
+ < span className = "absolute right -2 flex h-3.5 w-3.5 items-center justify-center" >
116
116
< SelectPrimitive . ItemIndicator >
117
117
< Check className = "h-4 w-4" weight = "bold" />
118
118
</ SelectPrimitive . ItemIndicator >
119
119
</ span >
120
-
121
120
< SelectPrimitive . ItemText > { children } </ SelectPrimitive . ItemText >
122
121
</ SelectPrimitive . Item >
123
122
) ) ;
You can’t perform that action at this time.
0 commit comments