From 630ced445170f7f8ae7a4bfb416addf942f851e8 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Tue, 25 May 2021 08:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E9=A1=B5=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 | 16 +++++++++------- src/pages/crontab/logModal.tsx | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/layouts/index.less b/src/layouts/index.less index d9cc761e..365661d9 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -6,14 +6,16 @@ body { @import '~codemirror/lib/codemirror.css'; -.CodeMirror { - height: auto; -} +.log-modal-code { + .CodeMirror { + height: auto; + } -.CodeMirror-scroll { - height: auto; - overflow-y: hidden; - overflow-x: auto; + .CodeMirror-scroll { + height: auto; + overflow-y: hidden; + overflow-x: auto; + } } .ql-container-wrapper { diff --git a/src/pages/crontab/logModal.tsx b/src/pages/crontab/logModal.tsx index 8ba42d73..11e92bdb 100644 --- a/src/pages/crontab/logModal.tsx +++ b/src/pages/crontab/logModal.tsx @@ -102,6 +102,7 @@ const CronLogModal = ({ {!loading && value && (