fix: Optimize dialogue style (#2849)

This commit is contained in:
wangdan-fit2cloud 2025-04-10 16:13:37 +08:00 committed by GitHub
parent a4f27249ed
commit b0366b18b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="chat-operation-button flex-between"> <div class="chat-operation-button flex-between">
<el-text type="info"> <el-text type="info">
<span class="ml-4">{{ datetimeFormat(data.create_time) }}</span> <span class="ml-4" v-if="data.create_time">{{ datetimeFormat(data.create_time) }}</span>
</el-text> </el-text>
<div> <div>

View File

@ -39,7 +39,7 @@
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.ai-chat { .ai-chat {
height: calc(100% - 100px); height: calc(100% - 106px) !important;
} }
} }
.chat-mobile { .chat-mobile {

View File

@ -3,7 +3,10 @@
ref="aiChatRef" ref="aiChatRef"
class="ai-chat" class="ai-chat"
:class="type" :class="type"
:style="{ height: firsUserInput ? '100%' : undefined }" :style="{
height: firsUserInput ? '100%' : undefined,
paddingBottom: applicationDetails.disclaimer ? '20px' : 0
}"
> >
<div <div
v-show="showUserInputContent" v-show="showUserInputContent"