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
  • Issues
  • #20233
Closed
Open
Issue created Jul 05, 2016 by Administrator@rootContributor

Add .col and .row-* classes to support flex-direction: column.

Created by: cgodo

I saw there is no support for flex-direction, not being set anywhere so it uses the default value of "row".

I suggest to add .col and .row-* classes to support flex-direction: column. Those classes would be the same as current .row and .col-* classes, except that .col class would use flex-direction: column.

So Bootstrap 4 could have (using xs and 12 for this example):

<div class="row"> <!-- uses flex-direction: row -->
  <div class="col-xs-12"></div>
</div>

<div class="col"> <!-- uses flex-direction: column -->
  <div class="row-xs-12"></div>
</div>

<div class="row"> <!-- nesting -->
  <div class="col-xs-6 col">
    <div class="row-xs-6"></div>
    <div class="row-xs-6"></div>
  </div>
  <div class="col-xs-6 col">
    <div class="row-xs-6"></div>
    <div class="row-xs-6"></div>
  </div>
</div>

Of course, there should be some study about what do "xs", "md" and "lg" mean in the context of "column" layout. Media queries with screen height I suppose?

Cheers.

Assignee
Assign to
Time tracking