-
-
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
Gap between checkbox/radio and it's label where clicking doesn't work #13003
Comments
Closed
Solid bug. Fixed with some CSS changes to rearrange the padding and what not. |
mdo
added a commit
that referenced
this issue
Jun 11, 2014
…height problems that were introduced after #13003
stempler
pushed a commit
to stempler/bootstrap
that referenced
this issue
Nov 4, 2014
…rom the surrounding div to the label to remove the no-click deadzone caused by negative margin
stempler
pushed a commit
to stempler/bootstrap
that referenced
this issue
Nov 4, 2014
…radio line-height problems that were introduced after twbs#13003
3 tasks
This reproduces in Bootstrap 5.3.3 for me - aha I see there isn't a fix coming this time: #35265 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the mouse to click on a checkbox/radio button you can click on the checkbox/radio button itself, or you can click on the label that is wrapped around the checkbox/radio button.
However in Bootstrap 3, unlike in version 2.3, there is a tiny gap between the two where you can click and nothing happens.
You can see this behaviour on most of the example forms with checkboxes or radio buttons, though it doesn't happen on the inline forms or on the inline-checkboxes due to their slightly different styles.
http://getbootstrap.com/css/#forms
I think it's something to do with interaction between display: inline on the label, and float: left and negative left margin on the input itself.
The text was updated successfully, but these errors were encountered: