Skip to content

Commit a715174

Browse files
Docs: Add .table class to color tables example (#41691)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
1 parent 22b1582 commit a715174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/content/docs/content/tables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Use contextual classes to color tables, table rows or individual cells.
5252

5353
<Code code={[
5454
`<!-- On tables -->`,
55-
...getData('theme-colors').map((themeColor) => `<table class="table-${themeColor.name}">...</table>`),
55+
...getData('theme-colors').map((themeColor) => `<table class="table table-${themeColor.name}">...</table>`),
5656
`
5757
<!-- On rows -->`,
5858
...getData('theme-colors').map((themeColor) => `<tr class="table-${themeColor.name}">...</tr>`),

0 commit comments

Comments
 (0)