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
  • #11531
Closed
Open
Issue created Nov 18, 2013 by Administrator@rootContributor

Inline form label not on the same line as fields

Created by: bjohnson045

This used to work in v2 and I am now having trouble with v3.0.2.

With an inline form, I am trying to get a field label to appear on the same line as the fields. The documentation uses "sr-only" to hide the labels completely so I did not see an example doing this in the documentation.

Example: http://bootply.com/94990

The input is getting dropped to the second line due to the 100% width I assume. I tried using a grid as the documentation suggests to set the length of the form control but this didn't seem to help. If I put the label in one column and the field in another, the spacing isn't correct the the field does not line up with the label.

Any pointers in the right direction?

Assignee
Assign to
Time tracking