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
  • #24496
Closed
Open
Issue created Oct 21, 2017 by Administrator@rootContributor

Vertical button style radios/checkboxes bottom label margin not removed

Created by: tmorehouse

  • Bootstrap V4.0.0.-beta.2
  • Operating system and version (any)
  • Browser and version All
  • Reduced test case https://codepen.io/tmorehouse/pen/BwEpOr

When using button style radios or checkboxes in vertical mode, the label margin-bottom is not set to 0 causing spacing issues between the "buttons":

image

Expected behavior: That the bottom margin be set to 0 for the labels, as would be for regular buttons in a vertical button group.

Workaround:

.btn-group-vertical label.btn {
  margin-bottom: 0;
}

or manually setting class mb-0 on each label.btn

Assignee
Assign to
Time tracking