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
  • #16337
Closed
Open
Issue created Apr 23, 2015 by Administrator@rootContributor

.help-block is not vertically aligned with label in horizontal form

Created by: jaakritso

.help-block can be used in two ways. Next to form control and under the form control.

If used next to form control, then the vertical alignment is off (-2px).

For example check this out: http://plnkr.co/edit/VA2lXxo3V05iG3Yh6LD1?p=preview

This could be fixed with extra condition (I already added it to the plunker style.css):

// If the help-block is direct descendant of form-group align with control-label and form-control
.form-horizontal .form-group > .help-block {
  margin-top: 7px;
  margin-bottom: 8px;
}

Related to issue #14721 (closed)

Assignee
Assign to
Time tracking