feat: 样式调整

This commit is contained in:
2025-10-14 20:09:18 +08:00
parent 017289c694
commit f1e009d656
4 changed files with 22 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="chat-other">
<view class="chat-other pl-20">
<text>{{ text }}</text>
<slot></slot>
</view>

View File

@@ -5,6 +5,7 @@
flex-direction: column;
max-width: 100%; // ✅ 限制最大宽度
overflow-x: hidden; // ✅ 防止横向撑开
padding-left: 20px;
text {
font-size: $uni-font-size-base;

View File

@@ -7,7 +7,7 @@
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
padding: 8px 16px;
padding: 8px 0;
box-sizing: border-box;
}
@@ -22,6 +22,9 @@
flex-shrink: 0;
white-space: nowrap;
position: relative;
&:first-child {
margin-left: 0;
}
.more-tips-item-title {
color: #00a6ff;