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="px-4 mt-4 text-sm text-center text-neutral-500"> <div class="fixed bottom-0 left-0 right-0 p-4 text-sm text-center text-neutral-500">
Made By ChenZhaoYu <span class="text-center">
<a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500"> Made By ChenZhaoYu -
Github <a href="https://github.com/Chanzhaoyu/chatgpt-bot" target="_blank" class="text-blue-500">
</a> Github
</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