From 1ebd726f857c1851f478bf91d6caacd1fae93ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Mon, 26 Apr 2021 17:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=94=E6=A1=88=E6=8F=90=E7=A4=BA=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/codemirror.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index ed17cff..3e170ba 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -535,6 +535,10 @@ export default { border-color: $main-color } /deep/.answer-wrap{ + pre{ + width: 100%; + white-space:normal; + } img{ max-width: 100%; }