fix: style overflow
This commit is contained in:
parent
f38fcc7721
commit
85ac61caa7
20
src/App.vue
20
src/App.vue
|
@ -7,17 +7,17 @@ import Chat from '@/views/Chat/index.vue'
|
|||
<template>
|
||||
<NConfigProvider class="h-full" preflight-style-disabled>
|
||||
<NaiveProvider>
|
||||
<div class="flex flex-col h-full p-4">
|
||||
<div class="flex-1">
|
||||
<div class="container h-full m-auto">
|
||||
<Chat />
|
||||
</div>
|
||||
<div class="h-full overflow-hidden">
|
||||
<div class="h-full pb-[50px] p-4">
|
||||
<Chat />
|
||||
</div>
|
||||
<div class="px-4 mt-4 text-sm text-center text-neutral-500">
|
||||
Made By ChenZhaoYu
|
||||
<a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500">
|
||||
Github
|
||||
</a>
|
||||
<div class="fixed bottom-0 left-0 right-0 p-4 text-sm text-center text-neutral-500">
|
||||
<span class="text-center">
|
||||
❤️ Made By ChenZhaoYu -
|
||||
<a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500">
|
||||
Github
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</NaiveProvider>
|
||||
|
|
|
@ -30,7 +30,7 @@ function initChat() {
|
|||
|
||||
function handleClear() {
|
||||
list.value = []
|
||||
setTimeout(initChat, 200)
|
||||
setTimeout(initChat, 100)
|
||||
}
|
||||
|
||||
function handleEnter(event: KeyboardEvent) {
|
||||
|
|
Loading…
Reference in New Issue