Merge pull request #520 from janhq/bug/chat-ui
bug: chat UI is not consistent
This commit is contained in:
commit
46739cba78
@ -78,7 +78,7 @@ const InputToolbar: React.FC = () => {
|
|||||||
|
|
||||||
if (conversations.length > 0)
|
if (conversations.length > 0)
|
||||||
return (
|
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 && (
|
{currentConvoState?.error && (
|
||||||
<div className="flex flex-row justify-center">
|
<div className="flex flex-row justify-center">
|
||||||
<span className="mx-5 my-2 text-sm text-red-500">
|
<span className="mx-5 my-2 text-sm text-red-500">
|
||||||
|
|||||||
@ -51,7 +51,7 @@ const SimpleTextMessage: React.FC<Props> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<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
|
<Image
|
||||||
className="rounded-full"
|
className="rounded-full"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user