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
  • #29605
Closed
Open
Issue created Oct 29, 2019 by Administrator@rootContributor

form-control-plaintext ignores input-group-$size

Created by: kratsg

Bug reports must include:

  • macOS 10.14.6 (18G95)
  • Chrome Version 77.0.3865.120 (Official Build) (64-bit)
  • Compare the difference here:
<div class="container">
  <div class="row">
    <div class="col">
      <div class="input-group input-group-sm">
        <div class="input-group-prepend">
          <button class="btn btn-primary">Button</button>
        </div>
        <input class="form-control" value="hello world" readonly />
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col">
      <div class="input-group input-group-sm">
        <div class="input-group-prepend">
          <button class="btn btn-primary">Button</button>
        </div>
        <input class="form-control-plaintext" value="hello world" readonly />
      </div>
    </div>
  </div>
</div>

You'll see that the .form-control-plaintext has issues with both width and sizing. The fix is to add .form-control-sm to .form-control-plaintext.

Assignee
Assign to
Time tracking