feat: 调整了目录结构
This commit is contained in:
29
src/pages/ChatMain/ChatCardAi/styles/index.scss
Normal file
29
src/pages/ChatMain/ChatCardAi/styles/index.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 100%; // ✅ 限制最大宽度
|
||||
overflow-x: hidden; // ✅ 防止横向撑开
|
||||
padding-bottom: 12px;
|
||||
|
||||
.chat-ai {
|
||||
margin: 6px 0;
|
||||
padding: 0 12px; // 消息内容的内边距 左右20px
|
||||
min-width: 100px;
|
||||
max-width: 100%; // ✅ 限制最大宽度
|
||||
overflow: hidden; // ✅ 超出内容被切掉
|
||||
word-wrap: break-word; // ✅ 长单词自动换行
|
||||
word-break: break-all; // ✅ 强制换行
|
||||
}
|
||||
}
|
||||
|
||||
.container-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
max-width: 100%; // ✅ 限制最大宽度
|
||||
}
|
||||
|
||||
.loading-img {
|
||||
margin-right: 8px;
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
}
|
||||
Reference in New Issue
Block a user