halfmoon
halfmoon copied to clipboard
[Feature request] Put label before switch
Hello,
I'm desperately trying to put a switch's label before itself.
I tried :
- putting the
<label>element before the<input>element - using CSS
display: flex; flex-direction: row-reverseon either parent or children
Until I realized the switch uses :before and :after.
So, it would be nice to have a modifier class for the switch component in order to position its label before itself.
Thanks !