Closed damir closed 1 year ago
Hi @damir . Good point, there isn't an option for that atm!
I will add it as soon as I find some time.
In the meantime you can add a css rule as workaround. Something like this should work:
div[phx-hook=LiveSelect] button[phx-click=clear] {
color: white
}
Let me know if you could make it work.
Note to self with additional TODOs:
style=none
style=tailwind
, as it's uselessThat works, thanks for the hint! I am using petal components and it looks like this:
html.dark div[phx-hook='LiveSelect'] button[phx-click='clear'] {
@apply text-gray-500;
}
added to release 1.2.0
.
The option is called: clear_button_class
Hi Max,
There is no option to configure css class for clear button, it looks like this when switching to dark mode: