css hacks
This commit is contained in:
@@ -186,6 +186,20 @@ body {
|
|||||||
width: calc(100% + 15px);
|
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 {
|
#table thead td {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -246,29 +260,29 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#stats td:first-child,
|
#stats td:nth-child(1),
|
||||||
#stats th:first-child {
|
#stats th:nth-child(1) {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#stats thead td {
|
#stats thead td {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#stats td:nth-child(2),
|
#stats td:nth-child(2),
|
||||||
#stats th:nth-child(2) {
|
#stats th:nth-child(2) {
|
||||||
width: 45px;
|
width: 45px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
#stats td:nth-child(3),
|
#stats td:nth-child(3),
|
||||||
#stats th:nth-child(3) {
|
#stats th:nth-child(3) {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#stats {
|
#stats {
|
||||||
width: 800px;
|
width: 800px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ async function createStatsTable(playerObject) {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
rowElement.innerHTML = `
|
rowElement.innerHTML = `
|
||||||
<td>${row.season}</td>
|
<td>${row.season}</td>
|
||||||
<td>${row.seasontype == "REG" ? "Regular" : "Post"}</td>
|
<td>${row.seasontype == "REG" ? "Reg" : "Post"}</td>
|
||||||
<td>${row.week}</td>
|
<td>${row.week}</td>
|
||||||
<td>${row.pass_attempts}</td>
|
<td>${row.pass_attempts}</td>
|
||||||
<td>${row.complete_pass}</td>
|
<td>${row.complete_pass}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user