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

[Sizing] Add max-width and max-height utilities

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/royklutman/feature-max-width-height-variants into v4-dev Nov 22, 2018
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: royklutman

Closes #27628 (closed).

This PR would add the max-width and max-height utilities:

mw-25 // max-width: 25% !important;
mw-50 // max-width: 50% !important;
mw-75 // max-width: 75% !important;
mw-100 // max-width: 100% !important;

mh-25 // max-height: 25% !important;
mh-50 // max-height: 50% !important;
mh-75 // max-height: 75% !important;
mh-100 // max-height: 100% !important;

Notice this doesn't include m*-auto, as auto not a valid value.

What do you guys think?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/royklutman/feature-max-width-height-variants