diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 871a78e..c86dbdc 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -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; } diff --git a/public/player.js b/public/player.js index d7c7562..a47e4e2 100644 --- a/public/player.js +++ b/public/player.js @@ -173,7 +173,7 @@ async function createStatsTable(playerObject) { console.log(row) rowElement.innerHTML = `