🐛 fix(chatMessage/index.tsx): fix CSS class name and position of the hidden message icon

This commit is contained in:
Lucas Oliveira 2023-07-07 12:54:44 -03:00
commit bb362bd4ff

View file

@ -58,11 +58,11 @@ export default function ChatMessage({
</div>
{!chat.isSend ? (
<div className="flex w-full flex-1 items-center text-start">
<div className="relative inline-block w-full text-start text-sm font-normal text-primary">
{hidden && chat.thought && chat.thought !== "" && (
<div className="relative inline-block w-full text-start text-sm font-normal text-muted-foreground">
{hidden && (
<div
onClick={() => setHidden((prev) => !prev)}
className="absolute -left-2 -top-1 cursor-pointer"
className="absolute -left-8 -top-5 cursor-pointer"
>
<MessageSquare className="h-5 w-5 animate-bounce dark:text-white" />
</div>