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