Skip to content

Commit

Permalink
Table no longer overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
9p4 committed Dec 29, 2024
1 parent c14239e commit 5cc2271
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
24 changes: 13 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,19 @@ <h1> Purdue Hackers Web Ring </h1>
</p>

<h2>Websites in ring</h2>
<table>
<thead>
<tr>
<th>Member</th>
<th>Site link</th>
</tr>
</thead>
<tbody>
{{ . }}
</tbody>
</table>
<div class="tablecontainer">
<table>
<thead>
<tr>
<th>Member</th>
<th>Site link</th>
</tr>
</thead>
<tbody>
{{ . }}
</tbody>
</table>
</div>

<footer>
Style inspired by
Expand Down
4 changes: 4 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@ footer {
color: #d2abef;
}
}

.tablecontainer {
overflow-x: auto;
}

0 comments on commit 5cc2271

Please sign in to comment.