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
  • #21702
Closed
Open
Issue created Jan 13, 2017 by Administrator@rootContributor

Spacing sizes are a bit counter-intuitive

Created by: entozoon

Referring to the spacing sizes explained in: https://v4-alpha.getbootstrap.com/utilities/spacing/

I was surprised to see that these aren't linear increments 0, 1, 2, 3, etc as might be expected by the classnames (i.e. p-3 yields 1 spacers worth, rather than 3)

but aside from that, with the pattern they currently have, it looks like they're supposed to double up each increment but they don't - the pattern being 0, 0.25, 0.5, 1, 1.5, 3 which is inconsistent.

Perhaps there's a logical reason? If not, I've popped in a pull request for a consistent doubling up pattern 0, 0.25, 0.5, 1, 2, 4 although (in my opinion) linear increments might be better, for which I'd happily do a PR if desirable.

https://github.com/twbs/bootstrap/pull/21703

Assignee
Assign to
Time tracking