修改了ai气泡大小

This commit is contained in:
2026-07-08 10:58:46 +08:00
parent bf5203b081
commit f0c8904d33
4 changed files with 11 additions and 2 deletions

View File

@@ -6622,7 +6622,7 @@ This will fail in production.`);
)) : vue.createCommentVNode("v-if", true),
message.content && String(message.content).trim() !== "" ? (vue.openBlock(), vue.createElementBlock("view", {
key: 1,
class: vue.normalizeClass(["chat-content", { "chat-content-user": message.role === "user" }]),
class: vue.normalizeClass(["chat-content", { "chat-content-user": message.role === "user", "chat-content-assistant": message.role === "assistant" }]),
onClick: ($event) => $setup.showMessageDetail(message)
}, [
$setup.parseFileInfo(message.content).textContent ? (vue.openBlock(), vue.createElementBlock("view", {

View File

@@ -1283,6 +1283,10 @@ to { opacity: 1; transform: translateY(0);
box-shadow: 0 0.125rem 0.375rem rgba(170, 170, 255, 0.3);
border-bottom-right-radius: 0.25rem;
}
/* AI 回复气泡满屏 */
.chat-content-assistant[data-v-5eb7b895] {
max-width: 100%;
}
.chat-content[data-v-5eb7b895]:not(.chat-content-user) {
border-bottom-left-radius: 0.25rem;
}