From b6dfcb5f08f42790395059963b16a57d20367978 Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Wed, 22 Mar 2023 17:40:34 +0800 Subject: [PATCH] fix: some IME position error #155 --- src/editor/assets/css/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editor/assets/css/index.css b/src/editor/assets/css/index.css index 781e8df..3697881 100644 --- a/src/editor/assets/css/index.css +++ b/src/editor/assets/css/index.css @@ -9,7 +9,7 @@ @import './zone/zone.css'; .ce-inputarea { - width: 0; + width: 1px; height: 12px; min-width: 0; min-height: 0; @@ -20,6 +20,7 @@ letter-spacing: 0; font-size: 12px; position: absolute; + z-index: -1; outline: none; resize: none; border: none;