fix: style overflow

main
ChenZhaoYu 2 years ago
parent f38fcc7721
commit 85ac61caa7

@ -7,17 +7,17 @@ import Chat from '@/views/Chat/index.vue'
<template> <template>
<NConfigProvider class="h-full" preflight-style-disabled> <NConfigProvider class="h-full" preflight-style-disabled>
<NaiveProvider> <NaiveProvider>
<div class="flex flex-col h-full p-4"> <div class="h-full overflow-hidden">
<div class="flex-1"> <div class="h-full pb-[50px] p-4">
<div class="container h-full m-auto">
<Chat /> <Chat />
</div> </div>
</div> <div class="fixed bottom-0 left-0 right-0 p-4 text-sm text-center text-neutral-500">
<div class="px-4 mt-4 text-sm text-center text-neutral-500"> <span class="text-center">
Made By ChenZhaoYu Made By ChenZhaoYu -
<a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500"> <a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500">
Github Github
</a> </a>
</span>
</div> </div>
</div> </div>
</NaiveProvider> </NaiveProvider>

@ -30,7 +30,7 @@ function initChat() {
function handleClear() { function handleClear() {
list.value = [] list.value = []
setTimeout(initChat, 200) setTimeout(initChat, 100)
} }
function handleEnter(event: KeyboardEvent) { function handleEnter(event: KeyboardEvent) {

Loading…
Cancel
Save