Update SelectItem.vue to put the check on the left

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 13:49:01 +00:00 committed by GitHub
parent 41660d36cd
commit b9f1b3aa62
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>
<Check class="h-4 w-4" />
</SelectItemIndicator>