Skip to content

Commit 784b800

Browse files
committed
remove spacing from standalone docs
1 parent 8306110 commit 784b800

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

website/docs/components/link/standalone/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ navigation:
3232
<section data-tab="Specifications">
3333
@include "partials/specifications/anatomy.md"
3434
@include "partials/specifications/states.md"
35-
@include "partials/specifications/spacing.md"
3635
</section>
3736

3837
<section data-tab="Accessibility">

website/docs/components/link/standalone/partials/guidelines/guidelines.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,27 @@ Don’t put product or service icons in the trailing position.
117117

118118
To learn more about icon best practices, review our [Icon usage](/components/icon) guidelines.
119119

120+
## Spacing between links
121+
122+
### Vertical list
123+
124+
We recommend at least 8px between Standalone Links when placed in a horizontal list.
125+
126+
![Recommended spacing between Standalone Links in a vertical list](/assets/components/link/standalone/standalone-link-vertical-list.png)
127+
128+
!!! Dont
129+
130+
Don't stack Standalone Links without any space between them. This creates a cluttered visual and requires precise mouse interaction that may not make for an inclusive experience.
131+
132+
![Example of no space between Standalone Links in a vertical list](/assets/components/link/standalone/standalone-link-vertical-list-dont.png)
133+
!!!
134+
135+
### Horizontal list
136+
137+
We recommend at least 16px between Standalone Links when placed in a horizontal list.
138+
139+
![Recommended spacing between Standalone Links in a horizontal list](/assets/components/link/standalone/standalone-link-horizontal-list.png)
140+
120141
## Common patterns
121142

122143
### Within Button Sets

website/docs/components/link/standalone/partials/specifications/spacing.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)