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

fix .col-form-label paddings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/wojtask9/col_form_label into v4-dev Jul 19, 2017
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: wojtask9

Fixes #23447 (closed).

Current calculations are wrong for me. First we shouldn't multiply border by two. Second we should add (not substract) border to padding. Also we want the same line-height like .form-control have. Without line-height .from-control-plaintext isn't properly aligned with *-sm/lg modifiers.

We can avoid calc() too. Just add to .col-form-label border: border: $input-btn-border-width solid transparent;

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/wojtask9/col_form_label