-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Padding left 20px on .checkbox is gone? #13591
Comments
Actually, I suspect this line: https://github.com/twbs/bootstrap/blob/master/less/forms.less#L212 |
@hnrch02 that is correct. I will update to 3.1.1 right away and test if that solves it. |
Also, could get into more detail about how this breaks your project? http://jsbin.com/yenidi/1/edit works fine, maybe there's a problem with the markup you are using? |
@hnrch02 of course that one works, because that version actually HAS the padding-left 😉 on the label. My label and/or checkbox does not. Causing my checkbox to be -20px off. So it's not visible :) |
It uses the latest compiled version of Bootstrap available on master, so the problem you are describing isn't currently happening when using a clean version. |
@hnrch02 Updating to 3.1.1 solved it. Thanks. |
When I have a look at http://getbootstrap.com/css/#forms, in particular the checkbox you see over there (element inspector) I notice that
.checkbox
haspadding-left: 20px;
.Where does it come from? Because looking at the less files in the repo tell me there is no padding-left of 20px on this element. Ctrl+f on the forms.less gives me 3 "padding-left" matches, non of which ...
I would have expected it over here comparing it with the other styles applied on the same
.checkbox
class: https://github.com/twbs/bootstrap/blob/master/less/forms.less#L211 but it's not there. Looking at the blame log doesn't help me either.Thiis kinda breaks a form in my project. Any ideas if this did go missing by accident?
The text was updated successfully, but these errors were encountered: