Merge pull request #520 from janhq/bug/chat-ui

bug: chat UI is not consistent
This commit is contained in:
Faisal Amir 2023-11-01 12:41:48 +07:00 committed by GitHub
commit 46739cba78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ const InputToolbar: React.FC = () => {
if (conversations.length > 0)
return (
<div className="sticky bottom-0 w-full bg-background/90 px-5 py-0">
<div className="sticky bottom-0 w-full bg-background/90 px-5 pb-0 pt-2">
{currentConvoState?.error && (
<div className="flex flex-row justify-center">
<span className="mx-5 my-2 text-sm text-red-500">

View File

@ -51,7 +51,7 @@ const SimpleTextMessage: React.FC<Props> = ({
return (
<div
className={`flex items-start gap-x-4 gap-y-2 border-b border-border/50 px-4 py-5 last:border-none`}
className={`flex items-start gap-x-4 gap-y-2 border-b border-border/50 px-4 py-5`}
>
<Image
className="rounded-full"