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

Fix form-control-feedback position when label has sr-only class

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/reywood/sr-only-has-feedback into master Apr 10, 2014
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 2

Created by: reywood

Fixes feedback positioning in the case where the label contained within a form group has the sr-only class. Example HTML:

<div class="form-group has-feedback">
    <label class="control-label sr-only">Label</label>
    <input type="text" class="form-control">
    <span class="glyphicon glyphicon-ok form-control-feedback"></span>
</div>

This jsbin has a few form-group variations, the first of which illustrates the bug. This jsbin uses the same HTML but adds my proposed CSS fix.

This case was mentioned in issue #12873 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/reywood/sr-only-has-feedback