mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
fix: remove bottom chatbox fade (frontend) (#2323)
* remove bottom chatbox fade * Modal wider; fix lint error
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user