`.row` with `.g-*` class picks up extra `margin-top` using column break
Open
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
- I have searched for duplicate or closed issues
- I have validated any HTML to avoid common problems
- I have read the contributing guidelines
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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