From b6b5fef5978a8bcbd6f6c02e2b462bd3c58d658e Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Thu, 20 Jun 2024 11:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-im-msg/types/rich-text.vue | 1 - pages/index/index.scss | 10 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/components/uni-im-msg/types/rich-text.vue b/components/uni-im-msg/types/rich-text.vue index 8011a7e..8613905 100644 --- a/components/uni-im-msg/types/rich-text.vue +++ b/components/uni-im-msg/types/rich-text.vue @@ -189,7 +189,6 @@ /* #endif */ .text { - display: inline-flex; word-break: break-all; cursor: text; /* #ifdef H5 */ diff --git a/pages/index/index.scss b/pages/index/index.scss index c27c55f..6518fd3 100644 --- a/pages/index/index.scss +++ b/pages/index/index.scss @@ -63,11 +63,15 @@ page { #conversation-list-box { height: 100%; flex: 1; - ::v-deep { - .conversation-list-item { - margin: 5px; + /* #ifdef H5 */ + @media screen and (min-device-width:960px){ + ::v-deep { + .conversation-list-item { + margin: 5px; + } } } + /* #endif */ } #uni-im-contacts-box { position: absolute; -- GitLab