Skip to content

πŸ™Œ OpenHands: AI-Driven Development

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

tobitegec3c2b2d7b691
diff --git a/frontend/src/components/chat/ChatInterface.tsx b/frontend/src/components/chat/ChatInterface.tsx
index 36d135de53..19890aae04 100644
--- a/frontend/src/components/chat/ChatInterface.tsx
+++ b/frontend/src/components/chat/ChatInterface.tsx
@@ -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">
diff --git a/frontend/src/components/modals/base-modal/BaseModal.tsx b/frontend/src/components/modals/base-modal/BaseModal.tsx
index 5c239de108..63f2d08646 100644
--- a/frontend/src/components/modals/base-modal/BaseModal.tsx
+++ b/frontend/src/components/modals/base-modal/BaseModal.tsx
@@ -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">