From e3ff6d1ce6c410388b1f20d785c27a3ebb9edb83 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 2 Apr 2021 13:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcodemirror=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/index.less b/src/layouts/index.less index 93a5acbb..fe1376f2 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -8,8 +8,8 @@ body { .code-mirror-wrapper .CodeMirror { position: absolute; - height: calc(100% - 64px); - width: 100%; + height: calc(100vh - 176px); + width: calc(100% - 32px); } .ant-pro-grid-content.wide {