fix: bug fix

This commit is contained in:
dataeaseShu
2025-07-30 09:58:10 +08:00
parent 0625e179f8
commit fc2761c1fd
+8 -2
View File
@@ -97,7 +97,7 @@
<div v-else-if="computedMessages.length == 0 && loading" class="welcome-content-block">
<logo />
</div>
<el-scrollbar v-if="computedMessages.length > 0" ref="chatListRef">
<el-scrollbar class="no-horizontal" v-if="computedMessages.length > 0" ref="chatListRef">
<div
class="chat-scroll"
:class="{ 'no-sidebar': !isAssistant && !chatListSideBarShow, pad16: isAssistant }"
@@ -859,10 +859,16 @@ onMounted(() => {
background: rgba(245, 246, 247, 1);
}
.chat-record-list {
:deep(.chat-record-list) {
padding: 0 0 20px 0;
border-radius: 0 12px 12px 0;
.no-horizontal.ed-scrollbar {
.ed-scrollbar__bar.is-horizontal {
display: none;
}
}
&.hide-sidebar {
border-radius: 12px;
}