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

v4: Various flexbox fixes and updates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge flex-hugs-not-bugs into v4-dev Dec 23, 2016
  • Overview 0
  • Commits 30
  • Pipelines 0
  • Changes 28

Starting a catchall branch of sorts to clean some stuff up around the move to flexbox.

Changes so far

  • Fixed inline forms in responsive navbars. The use of my- utilities on the buttons here caused the inputs to grow to match the computed height of the button plus those margins, so things looked broken. I've changed the utilities here and fixed it all up.

  • Updated the three remaining examples to use the new navbar—starter template, jumbotron, and offcanvas are now all up to speed.

  • Speaking of the offcanvas example, that's also been fixed. I pulled in the changes from #19832.

  • Huge flexbox utilities overhaul. Replaced all existing .flex-* utilities that had custom names with new utilities named after their property: value pair (e.g., .flex-items-between is now .justify-content-between). Also added brand new docs to showcase all these new utils.

  • Rewrote modal docs while aiming to fix some double borders in modal examples.


Still to do

Flexbox bugs

  • Inline forms in navbar examples across the board are fubared
  • Forgot to update to flexbox navbar in starter template, jumbotron, and offcanvas examples.
  • Fix offcanvas menu breakage
  • Inline form buttons of mixed sizes are resized to be equal height
  • Inline form checkbox text is too close to the control
  • Custom selects are wrong height
  • Static control example for inline form lacks padding utils
  • Inline help text example is poorly aligned

Flexbox todos

  • Remake form checks/radios with flexbox instead of abs position nevermind i'm an idiot, can't do this because of our markup
  • Remake dismissible alert with flexbox instead of abs position would require extra markup to do, skipping
  • Redo modal positioning with flexbox (hopefully we can vertically center and keep the scroll) nevermind, going to do this later; too many other changes to make alongside this.
  • Remake navs with flexbox instead of floats
  • Remake pagination with flexbox instead of floats
  • Blow out flex utils, document them all
  • Modal with flexbox—see #21425

Docs bugs

  • Modal demos have nested example markup
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: flex-hugs-not-bugs