Skip to content

Commit 0ab85c3

Browse files
author
David Scheier
committed
removed relative positioning from scrollable chat area
1 parent 3b1b376 commit 0ab85c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webchat-ui/components/history/ChatScroller.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const Scroller = styled(ScrollToBottom)({
2222
height: "100% !important",
2323
width: "100%",
2424
overflowY: "auto" as const,
25+
position: "initial",
2526

2627
"& .hiddenAutoScrollButton": {
2728
display: "none",
@@ -38,7 +39,7 @@ const ChatLog = styled.div(({ theme }) => ({
3839
const ScrollButton = styled("button")(({ theme }) => ({
3940
position: "absolute",
4041
zIndex: 10,
41-
bottom: "20px",
42+
bottom: "110px",
4243
left: "50%",
4344
transform: "translateX(-50%)",
4445
backgroundColor: theme.primaryWeakColor,

0 commit comments

Comments
 (0)