From 56ded3e0a970bf5d05b675dc7306be22a7e6316c Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Tue, 19 Jul 2022 11:44:42 +0800 Subject: [PATCH] fix(console): code editor content should be editable on firefox --- packages/console/src/components/CodeEditor/index.module.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/console/src/components/CodeEditor/index.module.scss b/packages/console/src/components/CodeEditor/index.module.scss index 8e6ec0ff6..f24241396 100644 --- a/packages/console/src/components/CodeEditor/index.module.scss +++ b/packages/console/src/components/CodeEditor/index.module.scss @@ -30,6 +30,8 @@ position: relative; textarea { + width: 100%; + height: 100%; margin: 0; padding: 0; border: none;