refactor: update SelectItem.vue to put the check icon on the left (#340)

The original shadcn library put the check on the left (for the default style) of the selected option
This commit is contained in:
Greg Sanderson 2024-02-14 14:19:59 +00:00 committed by GitHub
parent 41660d36cd
commit 3d99ca42b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ const forwardedProps = useForwardProps(delegatedProps)
) )
" "
> >
<span class="absolute right-2 flex h-3.5 w-3.5 items-center justify-center"> <span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<SelectItemIndicator> <SelectItemIndicator>
<Check class="h-4 w-4" /> <Check class="h-4 w-4" />
</SelectItemIndicator> </SelectItemIndicator>