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

Docs: add margin between buttons in tooltip examples

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julien Déramond requested to merge main-jd-add-margin-between-buttons-in-tooltip-examples into main Nov 14, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Description

This PR suggests to add some margin around the buttons used in Docs > Tooltips > Directions example. The values used are the same as the one used in the standard buttons example:

> .btn,
> .btn-group {
  margin: .25rem .125rem;
}

The Cheatsheet example is not impacted by this change because it has its own margin rules:

[id="tooltips"] .bd-example .btn {
  margin: 0 1rem 1rem 0;
}

Motivation & Context

This change adds some space around the buttons when the screen width is reduced to avoid: Screenshot 2022-11-14 at 08 32 48

Type of changes

  • Enhancement (non-breaking change)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • All new and existing tests passed

Live previews

  • https://deploy-preview-37492--twbs-bootstrap.netlify.app/docs/5.2/components/tooltips/
  • https://deploy-preview-37492--twbs-bootstrap.netlify.app/docs/5.2/examples/cheatsheet/#tooltips (for non-regression testing)

Related issues

N/A

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: main-jd-add-margin-between-buttons-in-tooltip-examples