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
  • #27291
Closed
Open
Issue created Sep 22, 2018 by Administrator@rootContributor

Horizontal list group feature suggestion

Created by: sts-ryan-holton

I've been playing around the list group component recently in some projects. One thing I'd like to see in Bootstrap 4.2 is possibly to have a horizontal list group or the ability to make any of the list groups provided (https://getbootstrap.com/docs/4.1/components/list-group/#basic-example) horizontal by adding a class. Technically, I don't know if it would be too difficuilt to add. I was playing around in the inspector and changed two things:

.list-group {
    // originally flex column
    flex-direction: row;
}

.list-group-item {
    // originally margin-bottom
    margin-left: -1px;
}

By making these relevant changes, you'd get the following:

list-group-horizontal

And if we remove the max-width from the documentation:

list-group-horizontal-100

I was thinking we could have a modifier class to the list-group-* something like:

-horizontal -vertical

Thoughts?

Assignee
Assign to
Time tracking