🐛 fix(chatMessage/index.tsx): fix CSS class name and position of the hidden message icon
This commit is contained in:
parent
dc415e22f5
commit
bb362bd4ff
1 changed files with 3 additions and 3 deletions
|
|
@ -58,11 +58,11 @@ export default function ChatMessage({
|
||||||
</div>
|
</div>
|
||||||
{!chat.isSend ? (
|
{!chat.isSend ? (
|
||||||
<div className="flex w-full flex-1 items-center text-start">
|
<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">
|
<div className="relative inline-block w-full text-start text-sm font-normal text-muted-foreground">
|
||||||
{hidden && chat.thought && chat.thought !== "" && (
|
{hidden && (
|
||||||
<div
|
<div
|
||||||
onClick={() => setHidden((prev) => !prev)}
|
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" />
|
<MessageSquare className="h-5 w-5 animate-bounce dark:text-white" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue