bug fix text overlay

This commit is contained in:
anovazzi1 2023-07-07 21:23:49 -03:00
commit 224fd4fef7
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ import AiIcon from "../../../assets/Gooey Ring-5s-271px.svg";
import AiIconStill from "../../../assets/froze-flow.png";
import { ChatMessageType } from "../../../types/chat";
import { classNames } from "../../../utils";
import FileCard from "../fileComponent";
import { CodeBlock } from "./codeBlock";
import { CodeBlock } from "../../formModal/chatMessage/codeBlock";
import FileCard from "../../formModal/fileComponent";
export default function ChatMessage({
chat,
lockChat,

View file

@ -50,7 +50,7 @@ export default function ChatMessage({
</div>
{!chat.isSend ? (
<div className="flex w-full flex-1 text-start">
<div className="relative inline-block w-full text-start text-sm font-normal text-muted-foreground">
<div className="relative inline-block flex w-full flex-col text-start text-sm font-normal text-muted-foreground">
{hidden && chat.thought && chat.thought !== "" && (
<div
onClick={() => setHidden((prev) => !prev)}