Remove scroll-to-bottom ArrowDown button

This commit is contained in:
2026-06-15 15:06:19 -07:00
parent f7c62b6424
commit 77e2e7dddb

View File

@@ -2127,34 +2127,7 @@ export function ChatPanel({
{/* Scroll to bottom button */}
{showScrollButton && (
<button
onClick={scrollToBottom}
style={{
position: "absolute",
bottom: "calc(100% + 12px)",
left: "50%",
transform: "translateX(-50%)",
background: "#ffffff",
border: "1px solid #e4e4e7",
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
borderRadius: "50%",
width: 32,
height: 32,
display: "flex",
alignItems: "center",
justifyContent: "center",
cursor: "pointer",
zIndex: 50,
color: "#52525b",
transition: "all 0.2s ease",
}}
aria-label="Scroll to bottom"
>
<ArrowDown size={16} />
</button>
)}
<ProjectPreviewChatInputWrap unifiedShell={unifiedProjectShell}>
{(selectToggle) => (