From d8099f7fe99a34f20317aec92d9dacb600edf999 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 28 Jun 2019 12:46:57 -0700 Subject: [PATCH] Lower z-indexes Canvas layers: 0-4 Helpers: 5 A11y tree: 10 Fixes #2275 --- css/xterm.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/xterm.css b/css/xterm.css index 5448b5a5..b3d8d4f2 100644 --- a/css/xterm.css +++ b/css/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; }