diff --git a/src/docs/foundation/spacing.md b/src/docs/foundation/spacing.md index b81116b5..0eda76d2 100644 --- a/src/docs/foundation/spacing.md +++ b/src/docs/foundation/spacing.md @@ -40,27 +40,23 @@ For demonstration purposes, all elements that are direct descendants of live playgrounds in these docs are given a standard margin on all sides which suppresses default spacing behavior described above: -~~~markdown ```docoff-react-preview -
This paragraph will have standard playground margin an all sides.
-This paragraph will have it too.
+This paragraph will have standard playground margin an all sides.
+This paragraph will have it too.
``` -~~~ Once wrapped in a `div`, all elements and components remain unaffected and have exactly the same margins as they would have in a real-world React UI project: -~~~markdown ```docoff-react-preview -
- This paragraph will have bottom margin of
- --rui-dimension-space-bottom-base
.
+ This paragraph will have bottom margin of
+ --rui-dimension-space-bottom-base
.
- This paragraph is a last child of its parent and thus will have no bottom - margin. + This paragraph is a last child of its parent and thus will have no bottom + margin.
-