!599 客服文本消息样式优化

Merge pull request !599 from puhui999/dev
pull/601/head
芋道源码 2024-11-25 12:34:22 +00:00 committed by Gitee
commit 6dee7415cb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
<template v-if="KeFuMessageContentTypeEnum.TEXT === item.contentType">
<div
v-dompurify-html="replaceEmoji(getMessageContent(item).text || item.content)"
class="flex items-center h-1/1"
class="line-height-normal text-justify h-1/1 w-full"
></div>
</template>
</MessageItem>

View File

@ -93,7 +93,7 @@ export const useEmoji = () => {
const emojiFile = getEmojiFileByName(item)
newData = newData.replace(
item,
`<img class="chat-img" style="width: 24px;height: 24px;margin: 0 3px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
`<img style="width: 20px;height: 20px;margin:0 1px 3px 1px;vertical-align: middle;" src="${emojiFile}" alt=""/>`
)
})
}