Skip to content

Commit fc2761c

Browse files
committed
fix: bug fix
1 parent 0625e17 commit fc2761c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

frontend/src/views/chat/index.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<div v-else-if="computedMessages.length == 0 && loading" class="welcome-content-block">
9898
<logo />
9999
</div>
100-
<el-scrollbar v-if="computedMessages.length > 0" ref="chatListRef">
100+
<el-scrollbar class="no-horizontal" v-if="computedMessages.length > 0" ref="chatListRef">
101101
<div
102102
class="chat-scroll"
103103
:class="{ 'no-sidebar': !isAssistant && !chatListSideBarShow, pad16: isAssistant }"
@@ -859,10 +859,16 @@ onMounted(() => {
859859
background: rgba(245, 246, 247, 1);
860860
}
861861
862-
.chat-record-list {
862+
:deep(.chat-record-list) {
863863
padding: 0 0 20px 0;
864864
border-radius: 0 12px 12px 0;
865865
866+
.no-horizontal.ed-scrollbar {
867+
.ed-scrollbar__bar.is-horizontal {
868+
display: none;
869+
}
870+
}
871+
866872
&.hide-sidebar {
867873
border-radius: 12px;
868874
}

0 commit comments

Comments
 (0)