aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Wedemann <[email protected]>2021-04-14 22:26:31 +0200
committerGitHub <[email protected]>2021-04-14 13:26:31 -0700
commit0122e020d60f9556dd9961256633aa06e8ded643 (patch)
tree9e2a9e4bedda0f2def2b1b433d015e12cc912ee9
parent0d440b0e1457887349f8b9a9fb463d5b996ac405 (diff)
downloadbootstrap-0122e020d60f9556dd9961256633aa06e8ded643.tar.xz
bootstrap-0122e020d60f9556dd9961256633aa06e8ded643.zip
Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)
* Fix wrong dark attribute * Remove the outer table completely Co-authored-by: Mark Otto <[email protected]>
-rw-r--r--site/content/docs/5.0/content/tables.md48
1 files changed, 23 insertions, 25 deletions
diff --git a/site/content/docs/5.0/content/tables.md b/site/content/docs/5.0/content/tables.md
index 3681e186a..7ec00201b 100644
--- a/site/content/docs/5.0/content/tables.md
+++ b/site/content/docs/5.0/content/tables.md
@@ -290,31 +290,29 @@ Table cells of `<thead>` are always vertical aligned to the bottom. Table cells
</div>
```html
-<table class="table table-sm table-dark">
- <div class="table-responsive">
- <table class="table align-middle">
- <thead>
- <tr>
- ...
- </tr>
- </thead>
- <tbody>
- <tr>
- ...
- </tr>
- <tr class="align-bottom">
- ...
- </tr>
- <tr>
- <td>...</td>
- <td>...</td>
- <td class="align-top">This cell is aligned to the top.</td>
- <td>...</td>
- </tr>
- </tbody>
- </table>
- </div>
-</table>
+<div class="table-responsive">
+ <table class="table align-middle">
+ <thead>
+ <tr>
+ ...
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ ...
+ </tr>
+ <tr class="align-bottom">
+ ...
+ </tr>
+ <tr>
+ <td>...</td>
+ <td>...</td>
+ <td class="align-top">This cell is aligned to the top.</td>
+ <td>...</td>
+ </tr>
+ </tbody>
+ </table>
+</div>
```
## Nesting