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

Correct the horizontal padding on grid containers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge fix-container-gutters into main Feb 10, 2022
  • Overview 3
  • Commits 2
  • Pipelines 0
  • Changes 2

While investigating #35282 (closed), I realized we're not halving the grid gutter values in our container classes. This was unintentional as the goal of the containers, rows, and columns is for all their padding and negative margin to seamlessly align.

An alternative approach here would be to halve the local CSS variable, but I think being consistent here is a good move.

/cc @ffoodd


Closes #35282 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-container-gutters