twbs / twbs/bootstrap

`.row` with `.g-*` class picks up extra `margin-top` using column break

Open
#40,702 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css v5
Dominant language
MDX
Stars
175k
Forks
78.6k
Avg merge
7h 19m
Merged PRs (30d)
35

Description

Prerequisites
Describe the issue

When we use a column break .w-100 inside a grid with a vertical gutter, the .w-100 spacer / braker add an unwanted extra vertical space.

Reduced test cases

https://codepen.io/florianlacreuse/pen/vYqZPJO

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome, Firefox

What version of Bootstrap are you using?

5.3.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reduced CodePen linked in the issue and compare the .w-100 column break with and without a vertical gutter in Bootstrap 5.3.3. Confirm the behavior in Chrome and Firefox; done means the spacer no longer creates unwanted extra vertical space while column breaks still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, css, scss
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.