Skip to content

Commit b0366b1

Browse files
fix: Optimize dialogue style (#2849)
1 parent a4f2724 commit b0366b1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="chat-operation-button flex-between">
33
<el-text type="info">
4-
<span class="ml-4">{{ datetimeFormat(data.create_time) }}</span>
4+
<span class="ml-4" v-if="data.create_time">{{ datetimeFormat(data.create_time) }}</span>
55
</el-text>
66

77
<div>

ui/src/components/ai-chat/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
@media only screen and (max-width: 768px) {
4141
.ai-chat {
42-
height: calc(100% - 100px);
42+
height: calc(100% - 106px) !important;
4343
}
4444
}
4545
.chat-mobile {

ui/src/components/ai-chat/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
ref="aiChatRef"
44
class="ai-chat"
55
:class="type"
6-
:style="{ height: firsUserInput ? '100%' : undefined }"
6+
:style="{
7+
height: firsUserInput ? '100%' : undefined,
8+
paddingBottom: applicationDetails.disclaimer ? '20px' : 0
9+
}"
710
>
811
<div
912
v-show="showUserInputContent"

0 commit comments

Comments
 (0)