Skip to content

Commit 3f0a40a

Browse files
committed
adjust header alignment
1 parent 41f7eb2 commit 3f0a40a

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

LongevityWorldCup.Website/wwwroot/partials/leaderboard-content.html

+11-6
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@
239239
text-align: left;
240240
}
241241

242-
/* Adjust width of the Rank column */
243-
.leaderboard table th:nth-child(1) {
244-
width: 15px; /* Set desired width */
245-
}
246-
247242
.athlete-td {
248243
display: flex;
249244
align-items: center;
@@ -253,7 +248,7 @@
253248

254249
th {
255250
padding: 1rem 1rem;
256-
text-align: left;
251+
text-align: center;
257252
background-color: rgba(0, 188, 212, 0.1);
258253
color: var(--primary-color);
259254
font-weight: 700;
@@ -262,6 +257,16 @@
262257
letter-spacing: 1px;
263258
}
264259

260+
/* Adjust Rank column */
261+
.leaderboard table th:nth-child(1) {
262+
width: 15px;
263+
}
264+
265+
/* Adjust Athlete column */
266+
.leaderboard table th:nth-child(2) {
267+
text-align: left;
268+
}
269+
265270
tr:nth-child(even) {
266271
background-color: rgba(240, 244, 248, 0.5);
267272
}

0 commit comments

Comments
 (0)