feat: 组件的边距调整
This commit is contained in:
@@ -5,15 +5,10 @@
|
|||||||
overflow-x: hidden; // ✅ 防止横向撑开
|
overflow-x: hidden; // ✅ 防止横向撑开
|
||||||
|
|
||||||
.chat-ai {
|
.chat-ai {
|
||||||
margin: 6px 12px;
|
margin: 6px 0;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
max-width: 100%; // ✅ 限制最大宽度
|
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
background: rgba(255, 255, 255, 0.4);
|
max-width: 100%; // ✅ 限制最大宽度
|
||||||
box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.1);
|
|
||||||
border-radius: 4px 20px 20px 20px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-color: #ffffff;
|
|
||||||
overflow: hidden; // ✅ 超出内容被切掉
|
overflow: hidden; // ✅ 超出内容被切掉
|
||||||
word-wrap: break-word; // ✅ 长单词自动换行
|
word-wrap: break-word; // ✅ 长单词自动换行
|
||||||
word-break: break-all; // ✅ 强制换行
|
word-break: break-all; // ✅ 强制换行
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
.chat-other {
|
.chat-other {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 6px 0;
|
margin: 6px 0;
|
||||||
padding: 0 12px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: 100%; // ✅ 限制最大宽度
|
max-width: 100%; // ✅ 限制最大宽度
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
padding-bottom: 12px;
|
padding: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-tips-item {
|
.more-tips-item {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 4px;
|
margin: 0 4px;
|
||||||
box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.1);
|
||||||
background-color: $uni-bg-color;
|
background-color: $uni-bg-color;
|
||||||
padding: 2px 12px;
|
padding: 2px 12px;
|
||||||
|
|||||||
Reference in New Issue
Block a user