style: make table overflow:scroll

This commit is contained in:
Ayo Ayco 2025-01-03 23:02:31 +01:00
parent 1c266d3d0c
commit 6e3dcc0098

View file

@ -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;