From 77de7e318d035715d58377b16cdc411bfbf4878c Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 22 Oct 2020 15:16:49 +0000 Subject: [PATCH] fix zalgo overflow in circles ui --- static-data/default-plugins/circles/web/theme.css | 1 + static-data/www/shared/sidebar/sidebar.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/static-data/default-plugins/circles/web/theme.css b/static-data/default-plugins/circles/web/theme.css index a1d1997b..fa7ebd7c 100755 --- a/static-data/default-plugins/circles/web/theme.css +++ b/static-data/default-plugins/circles/web/theme.css @@ -3,6 +3,7 @@ word-wrap:break-word; word-break:break-word; white-space: pre-wrap; + overflow: hidden; } body{ diff --git a/static-data/www/shared/sidebar/sidebar.js b/static-data/www/shared/sidebar/sidebar.js index c9093e8f..483d9196 100644 --- a/static-data/www/shared/sidebar/sidebar.js +++ b/static-data/www/shared/sidebar/sidebar.js @@ -48,7 +48,6 @@ async function showLog(){ logfileOutputEl.innerText += resp.data.replace( /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, '') - logfileOutputEl.innerText += "\n\n" doScroll() }) }