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

v4 grid tweaks

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge v4-grid-tweaks into v4-dev Mar 25, 2017
  • Overview 0
  • Commits 12
  • Pipelines 0
  • Changes 6

Grouping some grid fixes to iron out a few kinks and improve docs.

  • Improve semantic grid docs. Added the Sass to generate the mixings example so you can preview it inline. Also removed the rules from the Sass mixins to ensure they don't get out of date.

  • Removes position: relative; from container mixin and class. This was quickly added as a solution to some navbar stuff that's since been resolved with #22230. Fixes #21860 (closed).

  • Revamps between and only mixins. Our breakpoint mixins for between and only weren't working right, so I've rewritten them to be a bit more explicit and remove some nested mixins. Fixes #22245 (closed).

  • Changes .col{infix}-auto classes to have horizontal padding. This means you can use a responsive variant like .col-md-auto and not have to apply a .col-12 below it to have any padding. Fixes #22111 (closed).

  • Documents some flexbugs, like those in ##21967 (closed).

Still to do:

  • #21860 (closed): Remove position from .container
  • #21683 (closed): More docs improvements for auto layout
  • #22133 (closed): Customizing breakpoints example is missing a 0 value to start
  • #21666 (closed): Fix docs fieldset example
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: v4-grid-tweaks