aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index cab7937..b0d69bf 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -2619,7 +2619,7 @@ export function resizeChatbox() {
const chatContainerBox = document.getElementById("client_chatcontainer");
const gameHeight = document.getElementById("client_background").offsetHeight;
- chatContainerBox.style.fontSize = (gameHeight * 0.05) + "px";
+ chatContainerBox.style.fontSize = (gameHeight * 0.0521).toFixed(1) + "px";
}
window.resizeChatbox = resizeChatbox;