Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Put label before switch #124

Open
KaKi87 opened this issue Apr 15, 2022 · 0 comments
Open

[Feature request] Put label before switch #124

KaKi87 opened this issue Apr 15, 2022 · 0 comments
Labels
v1 Version 1.x.x

Comments

@KaKi87
Copy link

KaKi87 commented Apr 15, 2022

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 !

@halfmoonui halfmoonui added the v1 Version 1.x.x label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 Version 1.x.x
Projects
None yet
Development

No branches or pull requests

2 participants