0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-25 22:54:27 +01:00

Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)

* Fix wrong dark attribute

* Remove the outer table completely

Co-authored-by: Mark Otto <markd.otto@gmail.com>
This commit is contained in:
Philip Wedemann 2021-04-14 22:26:31 +02:00 committed by GitHub
parent 0d440b0e14
commit 0122e020d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,31 +290,29 @@ Table cells of `<thead>` are always vertical aligned to the bottom. Table cells
</div> </div>
```html ```html
<table class="table table-sm table-dark"> <div class="table-responsive">
<div class="table-responsive"> <table class="table align-middle">
<table class="table align-middle"> <thead>
<thead> <tr>
<tr> ...
... </tr>
</tr> </thead>
</thead> <tbody>
<tbody> <tr>
<tr> ...
... </tr>
</tr> <tr class="align-bottom">
<tr class="align-bottom"> ...
... </tr>
</tr> <tr>
<tr> <td>...</td>
<td>...</td> <td>...</td>
<td>...</td> <td class="align-top">This cell is aligned to the top.</td>
<td class="align-top">This cell is aligned to the top.</td> <td>...</td>
<td>...</td> </tr>
</tr> </tbody>
</tbody> </table>
</table> </div>
</div>
</table>
``` ```
## Nesting ## Nesting