Skip to content

Commit

Permalink
docs(tables): add design callout messages (#2032)
Browse files Browse the repository at this point in the history
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
  • Loading branch information
isabellechanclou authored Jul 28, 2023
1 parent 18a5ee4 commit f907f4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/content/docs/5.3/content/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Use contextual class to color tables, table rows or individual cells.

## Accented tables

{{< design-callout-alert info >}}
It is possible to use striped rows **or** striped columns in your tables, but you **can't use both in a same table**.
{{< /design-callout-alert >}}

### Striped rows

Use `.table-striped` to add zebra-striping to any table row within the `<tbody>`.
Expand Down Expand Up @@ -362,6 +366,10 @@ Table cells of `<thead>` are always vertical aligned to the bottom. Table cells

## Nesting

{{< design-callout-alert >}}
This component variant should not be used because it does not respect the Orange Design System specifications. It is not recommended for usability reasons.
{{< /design-callout-alert >}}

Border styles, active styles, and table variants are not inherited by nested tables.

<div class="bd-example">
Expand Down

0 comments on commit f907f4c

Please sign in to comment.