Skip to content

Commit

Permalink
Finetune documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Jul 22, 2024
1 parent 6b1981b commit 9ff747f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/css/src/components/margin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ The five sizes of [Component Space](/docs/foundation-design-tokens-space--docs)
- Use this utility class to vertically separate one element from the next.
- It can be used on any element and sets the `margin-block-end` CSS property. This declaration is marked with the `!important` flag to ensure it overrides any other margins.
- Elements’ top and bottom margins are sometimes collapsed into a single margin. Consult [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_model/Mastering_margin_collapsing) for details.
- To add equal margins between elements that are rendered by a loop, wrap them in a [Column](/docs/components-layout-column--docs) component instead.
This prevents having to treat the last sibling differently by not adding the margin to it.
- To add equal margins between elements, wrap them in a [Column](/docs/components-layout-column--docs) component instead.
This can help in loops: it prevents having to treat the last sibling differently by not adding the margin to it.

0 comments on commit 9ff747f

Please sign in to comment.