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%;