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
  • #18510
Closed
Open
Issue created Dec 09, 2015 by Administrator@rootContributor

Not all .container widths are divisible by 12

Created by: arechsteiner

I've been working on a Photoshop starter template for Bootstrap 4 with column guides, and I've noticed that not all column widths are divisible by twelve, which results in oddly sized column widths.

In alpha 2 this only affects "Large":

940px - 360px (gutter) / 12 = 48.33333...px

As a result, some columns are rendered with 48px width and others with 49px width.

This makes working with graphic tools harder and more cumbersome. For example, Photoshop has a "Guide Layout" functionality that would work well if columns were evenly sized:

2015-12-09 17_50_20-untitled-1 100 rgb_8

Is there a good reason for this that I am unaware of? I initially assumed this was a trade-off related to using rem, but now that this was ditched, I don't quite understand why the containers are not made so they divide evenly.

PS: I've published my Photoshop template here, if you want to take a look. It includes test renderings that I've made in Firefox in order to get the column widths exactly right.

Assignee
Assign to
Time tracking