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
  • Merge requests
  • !18389

Form radio and checkbox label alignments

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/EspadaV8/form-radio-and-checkbox-alignments into v4-dev Dec 01, 2015
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: EspadaV8

There is a slight misalignment with the radio and checkbox labels as can be seen in the screenshots below (or here on the current v4 documentation site)

screen shot 2015-12-01 at 11 15 32 am

screen shot 2015-12-01 at 12 13 41 pm

Adding the form-control-label class to the label corrects the alignment to the left but then causes the labels to not align with the options. This then requires some slight changes to the .radio, .checkbox, .radio label and .checkbox label styling to get them to line up correctly.

I'm not sure if the margin-bottom change is 'correct', but without it the space between options becomes huge. Is there a better way to correct this?

The first commit contains the actual changes, the second just contains the compiled dist changes after running grunt.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/EspadaV8/form-radio-and-checkbox-alignments