Skip to content

Commit

Permalink
web: fix table overflow on narrow screens
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Nov 23, 2023
1 parent 857e6e9 commit d9d0039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion web/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ a:hover {
color: var(--links-hover);
}

.tablecontainer {
overflow-x: auto;
}

table {
border-collapse: collapse;
overflow-x: auto;
border: 1px var(--table-border-color) solid;
}

Expand Down
4 changes: 2 additions & 2 deletions web/index.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
These mirrors sync directly from the build servers and will always have the latest packages available.
</p>

<div class="container">
<div class="container tablecontainer">
{tier1}
</div>

Expand All @@ -76,7 +76,7 @@
nor are they required to sync every available architecture or sub-repository.
</p>

<div class="container">
<div class="container tablecontainer">
{tier2}
</div>

Expand Down

0 comments on commit d9d0039

Please sign in to comment.