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
  • #22111
Closed
Open
Issue created Mar 03, 2017 by Administrator@rootContributor

col-auto removes gutters

Created by: tylerrymer

Perhaps it is intentional, but when you add col-auto, or col-{breakpoint}-auto for that matter, it automatically removes the element's gutters.

In my case, the first column has col-auto. It indeed fits to its content, but since there are no gutters defined for col-auto, it fits the outer edge of the row parent. As a result, it kind throws off the general flow and style of the row/column formatting.

I feel it would be beneficial to keep gutters intact regardless of whether or not a column is given a specified column length or set to auto. For the time being I have manually added in padding.

I couldn't find any other issues for this matter, and documentation makes no mention of it either. In the examples, they use col-12 on top of col-md-auto, so the element conveniently gets the padding from the col-12 class.

Assignee
Assign to
Time tracking