From 23b9cac75fc16a4fb97b5bd4ae8aba42d54187f6 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 28 May 2024 16:58:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=83=A8=E5=88=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/chat/embed/index.vue | 14 ++++++++++++-- ui/src/views/hit-test/index.vue | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ui/src/views/chat/embed/index.vue b/ui/src/views/chat/embed/index.vue index c53abbc17..b2903af23 100644 --- a/ui/src/views/chat/embed/index.vue +++ b/ui/src/views/chat/embed/index.vue @@ -15,7 +15,9 @@ :chatId="currentChatId" @refresh="refresh" @scroll="handleScroll" - > + class="AiChat-embed" + > + @@ -225,7 +227,7 @@ onMounted(() => { } .new-chat-button { position: absolute; - bottom: 84px; + bottom: 80px; left: 18px; z-index: 11; } @@ -282,5 +284,13 @@ onMounted(() => { max-width: var(--app-chat-width, 860px); margin: 0 auto; } + .AiChat-embed { + .ai-chat__operate { + padding-top: 38px; + } + .ai-chat__content { + padding-bottom: 104px + } + } } diff --git a/ui/src/views/hit-test/index.vue b/ui/src/views/hit-test/index.vue index 7cc56a5f3..532aa35f8 100644 --- a/ui/src/views/hit-test/index.vue +++ b/ui/src/views/hit-test/index.vue @@ -144,7 +144,7 @@