diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index b070a4b..d7c77ee 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; @@ -645,9 +651,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;