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

Add auto to `m-` spacer utility

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/schoenburg/auto-spacer-flexbox into v4-dev Aug 05, 2016
  • Overview 0
  • Commits 4
  • Pipelines 0
  • Changes 3

Created by: schoenburg

margin-*: auto is an invaluable tool when using flexbox positioning, and with Bootstrap 4 supporting flexbox, it would be good to have it built in as a base utility to avoid the need for messy one-off classes added by end users.

This adds auto as a spacer value to use with the spacing utility. .m-t-auto is an example of the class being used. With this new class, the explicit .m-x-auto class is no longer needed as it is generated like the others.

Documentation updated with note adding auto

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/schoenburg/auto-spacer-flexbox