css hacks
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user