style: make table overflow:scroll
This commit is contained in:
parent
1c266d3d0c
commit
6e3dcc0098
1 changed files with 31 additions and 25 deletions
|
@ -73,6 +73,7 @@ const description =
|
||||||
|
|
||||||
<h2>Accounts ({accountObjects.length})</h2>
|
<h2>Accounts ({accountObjects.length})</h2>
|
||||||
|
|
||||||
|
<div class="table-container">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Avatar</th>
|
<th>Avatar</th>
|
||||||
|
@ -98,6 +99,7 @@ const description =
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2 id="how">How how how?</h2>
|
<h2 id="how">How how how?</h2>
|
||||||
|
|
||||||
|
@ -129,6 +131,10 @@ const description =
|
||||||
td span {
|
td span {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-container {
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
table th,
|
table th,
|
||||||
table td {
|
table td {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
|
Loading…
Reference in a new issue