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

v4: Flex media redux

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge flex-media into v4-dev Dec 23, 2016
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 3

This PR overhauls the .media component by reducing it to only two required classes, .media and .media-body. Everything else can be accomplished with utility classes for padding, margin, and alignment. This also overhauls the docs to improve copy, add more examples, and improve existing examples with the new markup and utils usage guidelines.

While working on this, I took a look at #20408 (closed). Turns out that's a known bug with inline flex items not being counted in IE10-11. I've added a docs warning for that.

As an aside, I'll likely be tackling some flex utils name changes and docs updates in a follow-up PR. We're missing some key flex utils and the class names could use a small change for consistency with our other property-value utils (e.g., d-flex).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: flex-media