Skip to content

Commit 9749442

Browse files
committed
fix: bug fix
1 parent 75161d2 commit 9749442

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

frontend/src/views/chat/index.vue

Lines changed: 1 addition & 1 deletion
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 class="no-horizontal" v-if="computedMessages.length > 0" ref="chatListRef">
100+
<el-scrollbar v-if="computedMessages.length > 0" ref="chatListRef" class="no-horizontal">
101101
<div
102102
class="chat-scroll"
103103
:class="{ 'no-sidebar': !isAssistant && !chatListSideBarShow, pad16: isAssistant }"

frontend/src/views/system/model/Model.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const submit = (item: any) => {
232232
</script>
233233

234234
<template>
235-
<div class="model-config">
235+
<div class="model-config no-padding">
236236
<div class="model-methods">
237237
<span class="title">{{ t('model.ai_model_configuration') }}</span>
238238
<div class="button-input">
@@ -376,11 +376,13 @@ const submit = (item: any) => {
376376
<style lang="less" scoped>
377377
.model-config {
378378
height: calc(100% - 16px);
379+
padding: 16px 8px 16px 24px;
379380
.model-methods {
380381
display: flex;
381382
align-items: center;
382383
justify-content: space-between;
383384
margin-bottom: 16px;
385+
padding-right: 24px;
384386
.title {
385387
font-weight: 500;
386388
font-size: 20px;

0 commit comments

Comments
 (0)