Skip to content

Commit

Permalink
leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Stockmayer committed Apr 22, 2024
1 parent 8386a84 commit 0f5587d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 15 additions & 1 deletion srcs/frontend/css/Leaderboard.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.table-container {
overflow-x: auto;
overflow-y: auto;
border: solid;
border-color: red;
}

table {
border-collapse: collapse;
overflow-y: auto;
width: 100%;
}

Expand Down Expand Up @@ -57,3 +63,11 @@ th span {
.progress-content {
margin-left: 1rem; /* Adjust as needed to create space between content and progress bar */
}

@media only screen and (max-width: 600px) {
table th, table td {
padding: 0.5em;
font-size: 0.8em;
}
}

2 changes: 2 additions & 0 deletions srcs/frontend/views/leaderboard.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div class="table-container">
<table>
<thead>

Expand All @@ -21,3 +22,4 @@
</td>
</tr>
</table>
</div>

0 comments on commit 0f5587d

Please sign in to comment.