fix: remove bottom chatbox fade (frontend) (#2323)

* remove bottom chatbox fade

* Modal wider; fix lint error
This commit is contained in:
tobitege
2024-06-08 09:09:21 +02:00
committed by GitHub
parent 5e42f140cb
commit c3c2b2d7b6
2 changed files with 1 additions and 10 deletions

View File

@@ -3,7 +3,6 @@ import { useDispatch, useSelector } from "react-redux";
import { IoMdChatbubbles } from "react-icons/io";
import { RiArrowRightDoubleLine } from "react-icons/ri";
import { useTranslation } from "react-i18next";
import { twMerge } from "tailwind-merge";
import { VscArrowDown } from "react-icons/vsc";
import { FaRegThumbsDown, FaRegThumbsUp } from "react-icons/fa";
import { useDisclosure } from "@nextui-org/react";
@@ -125,14 +124,6 @@ function ChatInterface() {
>
<Chat messages={messages} />
</div>
{/* Fade between messages and input */}
<div
className={twMerge(
"absolute bottom-0 left-0 right-0",
curAgentState === AgentState.AWAITING_USER_INPUT ? "h-10" : "h-4",
"bg-gradient-to-b from-transparent to-neutral-800",
)}
/>
</div>
<div className="relative">

View File

@@ -39,7 +39,7 @@ function BaseModal({
size="sm"
className="bg-neutral-900 rounded-lg"
>
<ModalContent className="max-w-[24rem] p-[40px]">
<ModalContent className="max-w-[30rem] p-[40px]">
{(closeModal) => (
<>
<ModalHeader className="flex flex-col p-0">