From 743efa94645fa9c94be0a5c7b2a6fc72b2a25d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Tue, 27 Apr 2021 10:39:18 +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 ab0d935..eab51ba 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -541,6 +541,10 @@ export default { border-color: $main-color } /deep/.answer-wrap{ + pre{ + width: 100%; + white-space:normal; + } img{ max-width: 100%; }