Skip to content

Commit 26a5eed

Browse files
author
Ayesha Mazumdar
authored
fix(margin): Update broken doc links (#3365)
1 parent 2a78a47 commit 26a5eed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ui/utilities/margin/docs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ The base unit of all of our spacing metrics is **4**.
88
**Before using**
99

1010
- Most components already come with spacing included. These utility classes are for added convenience in laying out components.
11-
- Classes prefixed by `slds-m-` are used for adding **margins**. Classes prefixed in `slds-p-` are used for adding [padding](/components/utilities/padding)
11+
- Classes prefixed by `slds-m-` are used for adding **margins**. Classes prefixed in `slds-p-` are used for adding [padding](/utilities/padding)
1212
- The directions available for the spacing classes are `top`, `right`, `bottom`, and `left`.
1313
- You can use the `vertical` shortcut for both `top` and `bottom`, `horizontal` for both `right` and `left`, and `around` for all sides.
1414
- Use the `_xxx-small` through `_xx-large` scale to choose the size needed.
1515
- You can also use `none` as the size on any of the directions to enforce zero margin.
16-
- Where **vertical centering** is required, check out our [centered media object](/components/utilities/media-objects/#center) instead of applying extra `margin` or `padding`.
16+
- Where **vertical centering** is required, check out our [centered media object](/utilities/media-objects) instead of applying extra `margin` or `padding`.
1717

1818
## Location - Top
1919

ui/utilities/padding/_doc.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
* Spacing indicates `margin` and `padding`. The base unit of all our spacing metrics is **4**.
66
*
77
* - Most components already come with spacing included. These utility classes are for added convenience in laying out components.
8-
* - Classes prefixed by `.slds-m-` are used for adding **margins**. Classes prefixed in `.slds-p-` are used for adding **padding**
8+
* - Classes prefixed in `slds-p-` are used for adding **padding**. Classes prefixed by `slds-m-` are used for adding [margins](/utilities/margin).
99
* - The directions available for the spacing classes are `top`, `right`, `bottom`, and `left`.
1010
* - You can use the `vertical` shortcut for both `top` and `bottom`, `horizontal` for both `right` and `left`, and `around` for all sides.
1111
* - Use the `_xxx-small` through `_xx-large` scale to choose the size needed.
12-
* - Where **vertical centering** is required, check out our [/components/utilities/media-objects/#center](centered media object) instead of applying extra `margin` or `padding`.
12+
* - Where **vertical centering** is required, check out our [centered media object](/utilities/media-objects) instead of applying extra `margin` or `padding`.
1313
*
1414
* @summary Adjust whitespace with horizontal and vertical spacing helpers
1515
*

0 commit comments

Comments
 (0)