Fix to make select dropdown arrow show on left side when using tailwindcss-forms
mattlangeman opened this issue · 1 comments
mattlangeman commented
I ran into an issue with making the arrow for the select dropdown show on the left side of the box with for rtl languages. This is an issue specific to the tailwindcss-forms plugin as it adds in the arrow as a background image.
Not sure if tailwindcss-rtl is the right place for this but here is the quick fix I made.
[dir="rtl"] select {
background-position: left 0.5rem center;
padding-left: 2.5rem;
}