You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the text of the selected item in the Select component overflows, it is not left-aligned.
I placed a select without overflow next to it for comparison:
I was able to fix the issue by adding the Tailwind class [&>span]:text-left to the SelectTrigger component.
I also noticed that the chevron icon on the right of the select changes size but I haven’t found the cause of the issue.
Reproduction
https://stackblitz.com/edit/uogwrz?file=src%2FApp.vue
Describe the bug
When the text of the selected item in the Select component overflows, it is not left-aligned.
I placed a select without overflow next to it for comparison:
I was able to fix the issue by adding the Tailwind class [&>span]:text-left to the SelectTrigger component.
I also noticed that the chevron icon on the right of the select changes size but I haven’t found the cause of the issue.
System Info
Contributes
The text was updated successfully, but these errors were encountered: