From 3e9db49aad34d8361c5f73a497fbe9cc520359a7 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Sun, 26 Feb 2023 20:24:49 +0800 Subject: [PATCH] fix: code white-space --- src/views/chat/components/Message/style.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/chat/components/Message/style.less b/src/views/chat/components/Message/style.less index b1381c5..c230ec4 100644 --- a/src/views/chat/components/Message/style.less +++ b/src/views/chat/components/Message/style.less @@ -2,6 +2,10 @@ background-color: transparent; font-size: 14px; + p{ + white-space: pre-wrap; + } + ol { list-style-type: decimal; }