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

Adjusts vertical alignment of labels and badges

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/briannelson/label_baselines into 3.0.0-wip Jul 30, 2013
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 4

Created by: briannelson

Labels and badges have previously used vertical-align: middle; which works fairly well on most browsers. In Safari, it's pretty noticeably off. This PR changes them to use vertical-align: baseline; which should align the label and badge text to the parent text's baseline a lot better.

Badges (Before) badges - before

Badges (After) badges - after

Labels (Before) labels - before

Labels (After) labels - after

This has been tested in Safari 6.0.5, Chrome 28.0.1500.71, and Firefox 22.0 on Mac. No Windows testing,

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/briannelson/label_baselines