From 81ba9d5e5236c6ce77f787d344876890575e94e5 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 2 Apr 2021 13:27:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9codemirror=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/index.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layouts/index.less b/src/layouts/index.less index fe1376f2..c1fe4a56 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -8,7 +8,7 @@ body { .code-mirror-wrapper .CodeMirror { position: absolute; - height: calc(100vh - 176px); + height: calc(100vh - 128px); width: calc(100% - 32px); } @@ -29,4 +29,7 @@ body { height: calc(100vh - 144px); } } + .code-mirror-wrapper .CodeMirror { + height: calc(100vh - 176px); + } }