From d724243282864912ec2ed40e244fcda264590ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E9=83=91?= Date: Mon, 22 Aug 2022 20:58:40 +0800 Subject: [PATCH] Fix modal dismiss issue (#546) --- handlers/www/assets/xterm/xterm.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/www/assets/xterm/xterm.css b/handlers/www/assets/xterm/xterm.css index 5448b5a..b3d8d4f 100644 --- a/handlers/www/assets/xterm/xterm.css +++ b/handlers/www/assets/xterm/xterm.css @@ -55,7 +55,7 @@ * The z-index of the helpers must be higher than the canvases in order for * IMEs to appear on top. */ - z-index: 10; + z-index: 5; } .xterm .xterm-helper-textarea { @@ -69,7 +69,7 @@ top: 0; width: 0; height: 0; - z-index: -10; + z-index: -5; /** Prevent wrapping so the IME appears against the textarea at the correct position */ white-space: nowrap; overflow: hidden; @@ -150,7 +150,7 @@ top: 0; bottom: 0; right: 0; - z-index: 100; + z-index: 10; color: transparent; }