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

New feature: label inside the switch #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pmioni
Copy link

@pmioni pmioni commented Aug 21, 2018

Hi, since I needed it for a project I've added the option for putting the label inside the switch. Label is centered and the width of the label is based on the longer text that needs to fit the container, using a hidden text (a fairly crude method, but I couldn't think of a better one!).

If you like it, considering pulling the change. If you would like to receive screenshots, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant