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
  • #25005
Closed
Open
Issue created Dec 14, 2017 by Administrator@rootContributor

Different way are used to control overlap border of `input-group-addon` between` input-group-btn`

Created by: ysds

Regarding overlapping of borders of a grouped element, @mdo commented in #24453 (closed) that it is not good way to control the border color. As an alternative, we can use border-width: 0 or negative margin.

In input group, .input-group-addon uses border width to 0, and input-group-btn uses negative margin. I think we should use a same way (negative margin), since .input-group-addon and input-group-btn are similar in principle.

https://github.com/twbs/bootstrap/blob/9de141f42819f3ad374bf4774ddbefea7df8f950/scss/_input-group.scss#L145-L151

https://github.com/twbs/bootstrap/blob/9de141f42819f3ad374bf4774ddbefea7df8f950/scss/_input-group.scss#L165-L172

Assignee
Assign to
Time tracking