halfmoonui/halfmoon

[Feature request] Put label before switch

KaKi87 opened this issue · 0 comments

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-reverse on 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 !