From 25236958ff1fcddfbf5f73725f81d54c901b7651 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Fri, 6 Aug 2021 14:46:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=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 | 15 ++++++++++++--- src/pages/crontab/logModal.tsx | 11 ++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/layouts/index.less b/src/layouts/index.less index b708a155..d094cad0 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -14,9 +14,18 @@ body { background-color: rgb(248, 248, 248); } -.log-modal .ant-modal { - padding-bottom: 0 !important; - width: 580px !important; +.log-modal { + .ant-modal { + padding-bottom: 0 !important; + width: 580px !important; + } + + pre { + white-space: break-spaces; + line-height: 17px; + margin-bottom: 0; + overflow: hidden; + } } .monaco-editor:not(.rename-box) { diff --git a/src/pages/crontab/logModal.tsx b/src/pages/crontab/logModal.tsx index 488f03b9..2fe35912 100644 --- a/src/pages/crontab/logModal.tsx +++ b/src/pages/crontab/logModal.tsx @@ -108,20 +108,13 @@ const CronLogModal = ({ {!loading && value && (
{value}