Преглед изворни кода

消息里面的长英文换行

刘洋 пре 1 година
родитељ
комит
3e6043ebfc

+ 1 - 1
src/components/common/LoadingFlag.vue

@@ -14,7 +14,7 @@
   left: 0;
   right: 0;
   bottom: 0;
-  z-index: 1500;
+  z-index: 3333;
   background: rgba(0, 0, 0, 0.3);
   .loading-content {
     width: 140px;

+ 2 - 1
src/components/shared/message/MessageList.vue

@@ -387,12 +387,13 @@ onUnmounted(() => {
       //   }
       // }
       .history-message-info-content {
-        white-space: pre-wrap;
+        // white-space: pre-wrap;
         color: #444;
         font-size: 12px;
         font-weight: 400;
         line-height: 18px;
         background-color: #fff;
+        word-break: break-all;
       }
     }
     .msg-content-box {