0
- ? cn(
- "flex flex-col space-y-3 min-h-full justify-end",
- isPageDesktop ? "pt-2" : "pt-14",
- )
- : ""
- }
+ ref={messagesContainerRef}
+ className={cn(
+ "relative h-full overflow-y-auto scrollbar-thin",
+ "px-4",
+ dmSansClassName(),
+ )}
>
- {messages.map((message, index) => (
- // biome-ignore lint/a11y/noStaticElementInteractions: Hover detection for message actions
+ {isInputExpanded && (
- message.role === "assistant" && setHoveredMessageId(message.id)
- }
- onMouseLeave={() =>
- message.role === "assistant" && setHoveredMessageId(null)
- }
- >
- {message.role === "user" ? (
-
- ) : (
-
- )}
-
- ))}
- {(status === "submitted" || status === "streaming") && (
-
-
-
+ style={{ backgroundColor: "#000000E5" }}
+ />
)}
-