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

label width is broken after v3.3.2 #646

Open
aggarwalankush opened this issue Aug 14, 2017 · 3 comments
Open

label width is broken after v3.3.2 #646

aggarwalankush opened this issue Aug 14, 2017 · 3 comments

Comments

@aggarwalankush
Copy link

bootstrap switch label width is less after v3.3.2 I switched back to v3.3.2 and it works perfectly

@ivomasterche
Copy link

It looks that if you change the display property on line 45 to "inline-block" as it is in the previous version of the css it works ok. Please have in mind that this may brake something else.
.bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-label { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; cursor: pointer; display: inline-block !important; height: 100%; padding: 6px 12px; font-size: 14px; line-height: 20px; }

@neox387
Copy link

neox387 commented Sep 19, 2017

@ivomasterche doesn't seem to work for me still broken

@m4bwav
Copy link

m4bwav commented Sep 26, 2017

Have to downgrade again to 3.3.2. This seems to happen after the page is initialized and then the switch is redrawn the inner part of the width is off doesn't match the container.

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

No branches or pull requests

4 participants