From 274380b95b60387b6fb321604c8121efa24ae1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Fri, 30 Apr 2021 09:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=94=E6=A1=88=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/codemirror.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index b3d1b00..857d67e 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -554,7 +554,6 @@ export default { background: #1b1b1b; display: inline-block; position: relative; - overflow-x: auto; } .button ::v-deep .el-button--warning:hover, .el-button--warning:focus, @@ -618,8 +617,8 @@ export default { } /deep/.answer-wrap{ pre{ - width: 100%; - white-space:normal; + height: 320px; + overflow-x: scroll; } img{ max-width: 100%;