diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/dom/renderPlayerList.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/dom/renderPlayerList.ts b/webAO/dom/renderPlayerList.ts index a382194..48354ae 100644 --- a/webAO/dom/renderPlayerList.ts +++ b/webAO/dom/renderPlayerList.ts @@ -21,6 +21,8 @@ export function renderPlayerList() { const imgCell = playerRow.insertCell(0); imgCell.style.width = "64px"; const img = document.createElement("img"); + img.style.maxWidth = "60px"; + img.style.maxHeight = "60px"; if (player.charName) { const iconExt = client.charicon_extensions[0] || ".png"; img.src = `${AO_HOST}characters/${encodeURI(player.charName.toLowerCase())}/char_icon${iconExt}`; |
