Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook: Fix table markup in Design Language - Radius docs #67686

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading