Skip to content

Commit

Permalink
Storybook: Fix table markup in Design Language - Radius docs (#67686)
Browse files Browse the repository at this point in the history
Co-authored-by: tyxla <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Dec 6, 2024
1 parent 0d7312b commit bad9281
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>

1 comment on commit bad9281

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in bad9281.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12198512347
📝 Reported issues:

Please sign in to comment.