1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 19:31:35 +02:00

Mention .no-gutters removal in migration guide (#33332)

* Mention .no-gutters removal in migration guide

* Update site/content/docs/5.0/migration.md

Co-authored-by: Mark Otto <otto@github.com>
This commit is contained in:
Kyle Tsang
2021-03-10 19:28:15 -08:00
committed by GitHub
parent 644afc2761
commit 88cbe443b8

View File

@@ -343,6 +343,7 @@ Changes to any layout tools and our grid system.
- The responsive gutter classes can be used to control the gutter width in horizontal, vertical or both directions.
- The gutter width is now set in `rem` and decreased from `30px` to `1.5rem` (24px).
- `bootstrap-grid.css` now only applies `box-sizing: border-box` to the column instead of resetting the global box-sizing. This way the grid system can be used, even if `box-sizing: border-box` is not applied to each element.
- Removed `.no-gutters` in favor of new gutter spacing classes. Use `.g-0` instead. [Read the gutter docs for more details.]({{< docsref "/layout/gutters" >}})
### Content, Reboot, etc