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
  • #27575
Closed
Open
Issue created Nov 01, 2018 by Administrator@rootContributor

Font size issue between input group and form control size option

Created by: ysds

The font size of .form-control in .input-group-sm is different from a single .form-control-sm when customize $input-font-size-sm or $input-btn-font-size-sm. The same is true for lg and .btn.

$input-font-size-sm: .5rem;
$input-font-size-lg: 2rem;
2018-11-01 22 46 27

Demo: https://codepen.io/anon/pen/PyMyKo

One cause is related to the following lines:

  • https://github.com/twbs/bootstrap/blob/4b15ec9cad9296821b9f1771034c7c656cc11dc3/scss/_forms.scss#L145
  • https://github.com/twbs/bootstrap/blob/4b15ec9cad9296821b9f1771034c7c656cc11dc3/scss/_input-group.scss#L149
Assignee
Assign to
Time tracking