aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-07-10 19:53:43 +0200
committersD <stoned@derpymail.org>2020-07-10 19:53:43 +0200
commitbaf60eeac6b9a0039252936afe64aff328fe9f46 (patch)
tree6cc5878c250c49045f68d7c0b12a6e4a1183cf59 /webAO
parenta9a4d64609ed7f9fca0f1eef7e155fd1471b0c3d (diff)
round the font size
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 8377551..4ce5fb4 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -2620,7 +2620,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;