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:
parent
0d440b0e14
commit
0122e020d6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user