Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #13003
Closed
Open
Issue created Mar 10, 2014 by Administrator@rootContributor

Gap between checkbox/radio and it's label where clicking doesn't work

Created by: ds125v

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.

Assignee
Assign to
Time tracking