Skip to content

Commit

Permalink
Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)
Browse files Browse the repository at this point in the history
* Fix wrong dark attribute

* Remove the outer table completely

Co-authored-by: Mark Otto <markd.otto@gmail.com>
  • Loading branch information
hfhbd and mdo committed Apr 14, 2021
1 parent 0d440b0 commit 0122e02
Showing 1 changed file with 23 additions and 25 deletions.
48 changes: 23 additions & 25 deletions site/content/docs/5.0/content/tables.md
Expand Up @@ -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
Expand Down

0 comments on commit 0122e02

Please sign in to comment.