diff --git a/src/pages/index/components/chat/ChatCardAi/styles/index.scss b/src/pages/index/components/chat/ChatCardAi/styles/index.scss index 3004fd7..a450ce5 100644 --- a/src/pages/index/components/chat/ChatCardAi/styles/index.scss +++ b/src/pages/index/components/chat/ChatCardAi/styles/index.scss @@ -6,7 +6,7 @@ .chat-ai { margin: 6px 0; - padding: 0 12px; + padding: 0 20px; // 消息内容的内边距 左右20px min-width: 100px; max-width: 100%; // ✅ 限制最大宽度 overflow: hidden; // ✅ 超出内容被切掉 diff --git a/src/pages/index/components/chat/ChatCardMine/index.vue b/src/pages/index/components/chat/ChatCardMine/index.vue index b24b0b2..3121443 100644 --- a/src/pages/index/components/chat/ChatCardMine/index.vue +++ b/src/pages/index/components/chat/ChatCardMine/index.vue @@ -1,5 +1,5 @@