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
  • #34374
Closed
Open
Issue created Jun 29, 2021 by Administrator@rootContributor

regression in hr rendering since bootstrap 5

Created by: kusma

The rendering of horizontal rulers have completely changed in Bootstrap 5 vs Bootstrap 4, and the change is not documented in the migration guide.

In Bootstrap 4:

  • 1 px border top was used
  • The border-color was set to black with 10% opacity

However, in Bootstrap 5:

  • 1 px height is used.
  • The background color is set to currentColor with 25% opacity.

The result is:

  • Inconsistent width, even on the same page if display scaling isn't a multiple of 100% (eg 125%, 150%, 250%) on Windows
    • The rulers flickers when resizing the window on Firefox under these conditions
  • Darker ruler color, which change depending on current color

Operating system: Windows Browser: Mozilla Firefox 89.0.1, Microsoft Edge 91.0.864.59, Google Chrome 91.0.4472.77 test case

Assignee
Assign to
Time tracking