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
  • !26615

Fixes inline labels with a custom select

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge v4-dev-andres-fixes-forms-docs-inline-label into v4-dev May 28, 2018
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: andresgalante

Since the custom select has a width: 100% here the custom select goes to a new line when there is a label:

screen shot 2018-05-28 at 9 15 55 am

This PR adds a sr-only to the label to make it look like this:

screen shot 2018-05-28 at 9 17 50 am

This is not a fix to the problem, it's just fixing the docs. An author can use the label with the custom select if they use the form-inline class.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: v4-dev-andres-fixes-forms-docs-inline-label