aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-02-12 20:21:48 +0100
committersD <stoned@derpymail.org>2020-02-12 20:21:48 +0100
commite2606bddf48d31ce63ce91efa90728e3d25392ca (patch)
tree4a2a0c23cbf2d8e8f0da6defbf38ad5ca3bda334 /webAO/client.js
parent7f6d524f28f6fc11a8f223bca47dc8712f9d39db (diff)
fix chatbox on localhost and change evibox
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/webAO/client.js b/webAO/client.js
index b81d5ec..03a72cf 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1550,17 +1550,16 @@ class Viewport {
eviBox.src = safe_tags(client.evidences[this.chatmsg.evidence - 1].icon);
eviBox.style.width = "auto";
- eviBox.style.height = "30%";
+ eviBox.style.height = "36.5%";
eviBox.style.opacity = 1;
if (this.chatmsg.side === "def") {
// Only def show evidence on right
- eviBox.style.right = "1.5em";
+ eviBox.style.right = "1em";
eviBox.style.left = "initial";
} else {
eviBox.style.right = "initial";
- eviBox.style.left = "1.5em";
-
+ eviBox.style.left = "1em";
}
}