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

what is wrong #622

Open
ickbinhier opened this issue Feb 27, 2017 · 2 comments
Open

what is wrong #622

ickbinhier opened this issue Feb 27, 2017 · 2 comments

Comments

@ickbinhier
Copy link
Contributor

what is wrong

version 3.3.3 shows this
nein1

version 3.3.4 shows this
nein2

@jameshoward
Copy link

3.3.4 has an issue for our project too. The change to display: table-cell and vertical-align: middle on the handles and label meant that even though the width was being calculated correctly, it would not apply in the browser because table cells can shrink.

Our workaround was to add this to our CSS:

.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
	display: inline-block;
	vertical-align: baseline;
}

@elliottbenzle
Copy link

@jameshoward Thank you. CSS fix worked for me.

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

3 participants