Skip to content

Commit

Permalink
Storybook: Fix table markup in Design Language - Radius docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Dec 6, 2024
1 parent b8bfb4d commit 5f76024
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions storybook/stories/foundations/design-language/radius.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,29 @@ These steps are defined as tokens. To view the values and understand how to use
- Accessibility: Larger radius values can create a more approachable and friendly appearance, especially for larger components like cards and modals that demand more attention from users.

<table>
<tr>
<th width="50%">✅ Do</th>
<th width="50%">🚫 Don't</th>
</tr>
<tr>
<td width="50%" valign="top">
<img src={ radiusDo } alt="Radius do" width="100%" />

- Scale application of radius with element or container size.

- Use `radius-round` for circles and `radius-full` for pills.
</td>
<td width="50%" valign="top">
<img src={ radiusDont } alt="Radius don't" width="100%" />

- Don't nest larger radii inside smaller radii.

- Don't apply the same
radius value to container and immediate descendent.
</td>
</tr>
<thead>
<tr>
<th width="50%">✅ Do</th>
<th width="50%">🚫 Don't</th>
</tr>
</thead>
<tbody>
<tr>
<td width="50%" valign="top">
<img src={ radiusDo } alt="Radius do" width="100%" />

- Scale application of radius with element or container size.

- Use `radius-round` for circles and `radius-full` for pills.
</td>
<td width="50%" valign="top">
<img src={ radiusDont } alt="Radius don't" width="100%" />

- Don't nest larger radii inside smaller radii.

- Don't apply the same
radius value to container and immediate descendent.
</td>
</tr>
</tbody>
</table>

0 comments on commit 5f76024

Please sign in to comment.