Skip to content

Commit

Permalink
Fix stacked Do's in /design/typography
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuraima Estevez authored and jesstelford committed Sep 12, 2023
1 parent 356f373 commit ab62159
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions polaris.shopify.com/content/design/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,22 @@ textarea {

## Mobile considerations

<DoDont>
<InlineGrid columns={2} gap='4'>

#### Do
<Do>

- Refer to the platform’s native font scales when designing experiences for native apps
- Refer to the small-screen scale when designing experiences for mobile browsers
- Use the platform-specific component library
- Refer to the platform’s native font scales when designing experiences for native apps
- Refer to the small-screen scale when designing experiences for mobile browsers
- Use the platform-specific component library

#### Do
</Do>

- Use the native font scale
- Keep in mind that all UI elements containing text will be affected
- Explore additional content height, width, truncation, and line wraps
<Do>

</DoDont>
- Use the native font scale
- Keep in mind that all UI elements containing text will be affected
- Explore additional content height, width, truncation, and line wraps

</Do>

</InlineGrid>

0 comments on commit ab62159

Please sign in to comment.