fix(select): add shrink-0 to Icon

This commit is contained in:
romanhrynevych 2024-08-22 10:41:03 +03:00
parent 7aff597998
commit 3ef7ecdd44
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ const forwardedProps = useForwardProps(delegatedProps)
> >
<slot /> <slot />
<SelectIcon as-child> <SelectIcon as-child>
<ChevronDown class="w-4 h-4 opacity-50" /> <ChevronDown class="w-4 h-4 opacity-50 shrink-0" />
</SelectIcon> </SelectIcon>
</SelectTrigger> </SelectTrigger>
</template> </template>

View File

@ -25,7 +25,7 @@ const forwardedProps = useForwardProps(delegatedProps)
> >
<slot /> <slot />
<SelectIcon as-child> <SelectIcon as-child>
<CaretSortIcon class="w-4 h-4 opacity-50" /> <CaretSortIcon class="w-4 h-4 opacity-50 shrink-0" />
</SelectIcon> </SelectIcon>
</SelectTrigger> </SelectTrigger>
</template> </template>