mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 12:59:05 +02:00
Docs: Add .table
class to color tables example (#41691)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
@@ -52,7 +52,7 @@ Use contextual classes to color tables, table rows or individual cells.
|
|||||||
|
|
||||||
<Code code={[
|
<Code code={[
|
||||||
`<!-- On tables -->`,
|
`<!-- On tables -->`,
|
||||||
...getData('theme-colors').map((themeColor) => `<table class="table-${themeColor.name}">...</table>`),
|
...getData('theme-colors').map((themeColor) => `<table class="table table-${themeColor.name}">...</table>`),
|
||||||
`
|
`
|
||||||
<!-- On rows -->`,
|
<!-- On rows -->`,
|
||||||
...getData('theme-colors').map((themeColor) => `<tr class="table-${themeColor.name}">...</tr>`),
|
...getData('theme-colors').map((themeColor) => `<tr class="table-${themeColor.name}">...</tr>`),
|
||||||
|
Reference in New Issue
Block a user