css hacks

This commit is contained in:
RochesterX
2025-12-02 00:00:51 -05:00
parent c3a82e0a7e
commit ae6618e0de
2 changed files with 21 additions and 7 deletions

View File

@@ -186,6 +186,20 @@ body {
width: calc(100% + 15px);
}
@-moz-document url-prefix() {
#table tbody,
#stats tbody,
.box tbody {
overflow-y: auto;
width: calc(100% + 12px);
}
}
#favorites tbody {
overflow-y: auto;
width: calc(100%);
}
#table thead td {
font-weight: bold;
white-space: nowrap;
@@ -246,29 +260,29 @@ body {
width: 100%;
table-layout: fixed;
}
#stats td:first-child,
#stats th:first-child {
/*
#stats td:nth-child(1),
#stats th:nth-child(1) {
width: 30px;
white-space: nowrap;
}
*/
#stats thead td {
font-weight: bold;
}
/*
#stats td:nth-child(2),
#stats th:nth-child(2) {
width: 45px;
white-space: nowrap;
}
#stats td:nth-child(3),
#stats th:nth-child(3) {
width: 20px;
white-space: nowrap;
}
*/
#stats {
width: 800px;
}

View File

@@ -173,7 +173,7 @@ async function createStatsTable(playerObject) {
console.log(row)
rowElement.innerHTML = `
<td>${row.season}</td>
<td>${row.seasontype == "REG" ? "Regular" : "Post"}</td>
<td>${row.seasontype == "REG" ? "Reg" : "Post"}</td>
<td>${row.week}</td>
<td>${row.pass_attempts}</td>
<td>${row.complete_pass}</td>