Remove scroll-to-bottom ArrowDown button
This commit is contained in:
@@ -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) => (
|
||||
|
||||
Reference in New Issue
Block a user