Fix margins on chat page for footer (#273)

This commit is contained in:
ravikiranp123 2023-06-06 22:07:23 +05:30 committed by GitHub
parent 6ca4d95de4
commit 6cbcc470e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export default function ChatPage() {
<Card className="p-5 max-w-3xl w-full flex-1 mb-24 overflow-auto flex flex-col">
<ChatMessages history={history} />
</Card>
<Card className="fixed left-1/2 w-full max-w-3xl bg-gray-100 dark:bg-gray-800 rounded-b-none -translate-x-1/2 bottom-16 px-5 py-5">
<Card className="fixed left-1/2 w-full max-w-3xl bg-gray-100 dark:bg-gray-800 -translate-x-1/2 bottom-16 px-5 py-5 mb-5">
<form
onSubmit={(e) => {
e.preventDefault();