mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Update edge-to-edge design instructions (#35446)
Add note about margins to prevent overflow.
This commit is contained in:
parent
e5d8256e42
commit
2fe90d8b16
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Gutter classes can also be added to [row columns]({{< docsref "/layout/grid#row-
|
|||
|
||||
The gutters between columns in our predefined grid classes can be removed with `.g-0`. This removes the negative `margin`s from `.row` and the horizontal `padding` from all immediate children columns.
|
||||
|
||||
**Need an edge-to-edge design?** Drop the parent `.container` or `.container-fluid`.
|
||||
**Need an edge-to-edge design?** Drop the parent `.container` or `.container-fluid` and add `.mx-0` to the `.row` to prevent overflow.
|
||||
|
||||
In practice, here's how it looks. Note you can continue to use this with all other predefined grid classes (including column widths, responsive tiers, reorders, and more).
|
||||
|
||||
|
|
Loading…
Reference in a new issue