From 7dba9088492676e9ad257a280d5b615571f36167 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Thu, 21 Jul 2022 17:25:45 +0800 Subject: [PATCH] fix(console): remove annoying horizontal scrollbar from code editor --- packages/console/src/components/CodeEditor/index.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/console/src/components/CodeEditor/index.module.scss b/packages/console/src/components/CodeEditor/index.module.scss index f24241396..d4579a524 100644 --- a/packages/console/src/components/CodeEditor/index.module.scss +++ b/packages/console/src/components/CodeEditor/index.module.scss @@ -52,6 +52,7 @@ textarea, pre { + display: flex; min-height: 20px; } }