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
  • #35801
Closed
Open
Issue created Feb 07, 2022 by Administrator@rootContributor2 of 2 checklist items completed2/2 checklist items

Container negative auto margin

Created by: arthurshlain

Prerequisites

  • I have searched for duplicate or closed feature requests
  • I have read the contributing guidelines

Proposal

Additional margin and padding classes that allow to extract column space from container to left or right side.

Demo: https://codepen.io/ArtZ91/pen/wvPgMQX

  1. Add --container-max-width CSS variables.
  2. Add classes like ms-n-auto and me-n-auto for new margin values.
  3. Add classes like ps-auto and pe-auto for new padding values.

Motivation and context

Some designers like to draw blocks that start from the viewport side and ends inside container column.

Assignee
Assign to
Time tracking