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

Glyphicon in input-prepend off by 1 pixel

Created by: Scowen

When using a glyphicon in the input prepend, like a search icon for a search bar, the prepended CSS is off by one pixel. Here is the code I used to test:

<div class="input-group input-group-lg">
    <span class="input-group-addon glyphicon glyphicon-search"></span>
    <input class="form-control" type="text" name="input">
</div>

By adding 'style="top: 0px;" ' to the span, this was fixed, example:

<span class="input-group-addon glyphicon glyphicon-search" style="top: 0px;"></span>

I have only tested this in Chrome.

Assignee
Assign to
Time tracking