fix(chat): screen height chatlist

This commit is contained in:
iMADi-ARCH 2023-06-11 12:24:28 +05:30
parent 668ead42ad
commit dfe887ea8e

View File

@ -6,7 +6,7 @@ export function ChatsList() {
const { allChats, deleteChat } = useChats();
return (
<div className="sticky top-0 max-h-screen overflow-auto scrollbar">
<aside className="relative bg-white dark:bg-black max-w-xs w-full border-r border-black/10 dark:border-white/25 ">
<aside className="relative bg-white dark:bg-black max-w-xs w-full border-r border-black/10 dark:border-white/25 h-screen">
<NewChatButton />
<div className="flex flex-col gap-0">
{allChats.map((chat) => (