From 8447ec44ab9d0b6ff6e24c5f529a0f2d979c9294 Mon Sep 17 00:00:00 2001 From: Gnome Ann <> Date: Tue, 28 Sep 2021 19:00:23 -0400 Subject: [PATCH] Fix world info screen and bump application.js version --- static/application.js | 2 ++ static/custom.css | 5 +++++ templates/index.html | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/static/application.js b/static/application.js index f8692b7e..c7290052 100644 --- a/static/application.js +++ b/static/application.js @@ -466,6 +466,7 @@ function enterWiMode() { hide([button_actback, button_actmem, button_actretry, game_text]); show([wi_menu]); disableSendBtn(); + $("#gamescreen").addClass("wigamescreen"); } function exitWiMode() { @@ -474,6 +475,7 @@ function exitWiMode() { hide([wi_menu]); show([button_actback, button_actmem, button_actretry, game_text]); enableSendBtn(); + $("#gamescreen").removeClass("wigamescreen"); scrollToBottom(); } diff --git a/static/custom.css b/static/custom.css index fa9be0b4..2d12c00c 100644 --- a/static/custom.css +++ b/static/custom.css @@ -77,6 +77,11 @@ chunk.editing, chunk.editing * { font-family: "Helvetica"; } +#gamescreen.wigamescreen { + padding: 10px; + overflow-y: scroll; +} + #gamescreen span { align-self: flex-end; } diff --git a/templates/index.html b/templates/index.html index fbb90294..01ec91cf 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,14 +6,14 @@ - + - +