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

Custom control gutter fix

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/gijsbotje/custom-control-gutter-fix into v4-dev Dec 07, 2018
  • Overview 0
  • Commits 7
  • Pipelines 0
  • Changes 2

Created by: gijsbotje

The current $custom-control-gutter defines the gutter + the indicator size. This works great if the indicator is the same size for each custom control that uses this variable. While working on the switch element in #23004 i realized that i had to do weird calculations to get the same gutter as for the radio and checkbox. The actual gutter is .5rem, but is now 1.5rem. This PR changes that so the gutter variable is actually the space between the indicator and the label.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/gijsbotje/custom-control-gutter-fix