Skip to content
GitLab
    • Explore Projects Groups Snippets
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
  • !1957

Fix to be relative to the line height of the label

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/krainboltgreene/patch-1 into master 13 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: krainboltgreene

Found this when I had the lineheight set to 1.75em on a font-size of 18px.

The checkbox is scewed up by about 5px, so I changed it to em and it looks perfect.

Compare
  • master (base)

and
  • latest version
    c59d08e4
    1 commit, 2 years ago

1 file
+ 1
- 1

    Preferences

    File browser
    Compare changes
less/forms.less
+ 1
- 1
  • View file @ c59d08e4


@@ -81,7 +81,7 @@ input[type="radio"] {
width: auto;
height: auto;
padding: 0;
margin: 3px 0;
margin: 0.5em 0;
*margin-top: 0; /* IE7 */
line-height: normal;
border: 0;
0 Assignees
None
Assign to
Reviewer
Mark Otto's avatar
Mark Otto
Request review from
Labels
1
v4
1
v4
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: twbs/bootstrap!30985
Source branch: github/fork/krainboltgreene/patch-1

Menu

Explore Projects Groups Snippets