From 0ab85c3f0af077e0170ab6e66ec06e3bdcda20d8 Mon Sep 17 00:00:00 2001 From: David Scheier Date: Tue, 4 Mar 2025 13:59:08 +0100 Subject: [PATCH] removed relative positioning from scrollable chat area --- src/webchat-ui/components/history/ChatScroller.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webchat-ui/components/history/ChatScroller.tsx b/src/webchat-ui/components/history/ChatScroller.tsx index e4d1763d..2c112b1c 100644 --- a/src/webchat-ui/components/history/ChatScroller.tsx +++ b/src/webchat-ui/components/history/ChatScroller.tsx @@ -22,6 +22,7 @@ const Scroller = styled(ScrollToBottom)({ height: "100% !important", width: "100%", overflowY: "auto" as const, + position: "initial", "& .hiddenAutoScrollButton": { display: "none", @@ -38,7 +39,7 @@ const ChatLog = styled.div(({ theme }) => ({ const ScrollButton = styled("button")(({ theme }) => ({ position: "absolute", zIndex: 10, - bottom: "20px", + bottom: "110px", left: "50%", transform: "translateX(-50%)", backgroundColor: theme.primaryWeakColor,