From b3d530c5c069416150cc24eac5e6d736589d653f Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 8 Apr 2022 09:44:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E9=9D=A2=E6=9D=BF=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TestPanel.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 917a2e8..c75497c 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -556,6 +556,7 @@ export default { font-size: 16px; margin: 0px 20px 10px 10px; white-space: pre-wrap; + overflow: hidden; } .toggle-panel { position: fixed; @@ -610,9 +611,12 @@ export default { background-color: #202020; } } -.des { +/deep/.des { font-size: 16px; font-family: "Microsoft YaHei"; + img { + max-width: 100%; + } } /deep/.el-collapse-item__wrap { border-bottom: none; @@ -622,6 +626,8 @@ export default { } /deep/.el-tabs__content { margin: 0 20px; + max-height: calc(60vh - 70px); + overflow: auto; } /deep/.el-icon-s-ticket:before { padding: 5px; @@ -652,9 +658,6 @@ export default { /deep/.el-collapse { border-bottom: none; border-top: none; - height: 500px; - overflow: hidden; - overflow-y: auto; } /deep/.el-tabs__item.is-active { color: #fff;