From dffd860d5ca9d6832c201b417a57d411a9281f01 Mon Sep 17 00:00:00 2001 From: Pang Date: Thu, 10 Aug 2023 08:31:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B1=87=E6=8A=A5=E6=8F=90=E4=BA=A4=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/sass/components/report.scss | 31 ++++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/resources/assets/sass/components/report.scss b/resources/assets/sass/components/report.scss index de9c3636e..445402140 100644 --- a/resources/assets/sass/components/report.scss +++ b/resources/assets/sass/components/report.scss @@ -136,32 +136,27 @@ } .report-edit { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 24px; + overflow: auto; display: flex; flex-direction: column; - height: 100%; - padding: 24px; .ivu-input[disabled] { color: $primary-text-color; } + .ivu-form-item-content { + white-space: nowrap; + } + .report-content { flex: 1 1 auto; overflow-y: auto; - - .report-content-editor { - height: 100%; - - .ivu-form-item-content { - height: 100%; - display: flex; - - .teditor-wrapper { - flex: 1; - display: flex; - } - } - } } .report-users { @@ -267,6 +262,10 @@ .teditor-wrapper { display: flex; flex: 1; + min-height: 380px; + min-width: 380px; + margin-right: -24px; + padding-right: 24px; } } }