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
  • #34335
Closed
Open
Issue created Jun 23, 2021 by Administrator@rootContributor

v5.0.2 regression: grid col-N now overrides col-breakpoint

Created by: danielkauffman

Between v5.0.1 and v5.0.2, the col-breakpoint declarations were moved above the col-N declarations. This breaks automatic column sizing. For example, a class declaration of "col-6 col-md" now creates a column that is always six columns wide and the column width does not become automatic at the breakpoint. Previously, the column width was six columns at the small sizes, and became automatic at the breakpoint.

Here is the diff showing the change in the compiled CSS: https://github.com/twbs/bootstrap/commit/688bce4fa695cc360a0d084e34f029b0c192b223#diff-1e4f2454c1c043f0cf31f56b51ec891c6bc0ff1c88985b82c7f89c0d8f78c4ba

This might be a result of this commit, although my guess is based mainly on the title of the commit, which describes changing the declaration order for cols: https://github.com/twbs/bootstrap/commit/f2b47e1c8a263f4406255991af9fd55984c22a0e#diff-41667d8b9901aa9fa52483b538bb9026c287f2c663d2fdc01acffa06888cc087

Assignee
Assign to
Time tracking