diff --git a/app/components/ConversationFrontend.tsx b/app/components/ConversationFrontend.tsx index 3c65bd4..832104b 100644 --- a/app/components/ConversationFrontend.tsx +++ b/app/components/ConversationFrontend.tsx @@ -53,7 +53,7 @@ const ConversationFrontend = React.forwardRef if (isScrolling) { messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' }); } - }, [messages, isScrolling]); + }, [messages]); return (
@@ -99,7 +99,9 @@ const ConversationFrontend = React.forwardRef
- + ); } diff --git a/app/styles/output.css b/app/styles/output.css index ebaa2e3..2bd949d 100644 --- a/app/styles/output.css +++ b/app/styles/output.css @@ -6,14 +6,14 @@ background-color: var(--output-background-color); margin: 1em; margin-bottom: 0; - padding-bottom: 14dvh; + padding-bottom: 15dvh; display: flex; flex-direction: column; justify-content: flex-start; font-size: 1em; overflow-y: auto; width: calc(100% - 2em); /* Corrected calculation for width */ - height: 86dvh; + height: 85dvh; position: relative; } @@ -22,7 +22,7 @@ flex-direction: column; padding-left: 10px; overflow-y: auto; - height: 80vh; + height: 75dvh; background-color: var(--output-background-color); border-radius: 10px; scroll-behavior: smooth; @@ -73,6 +73,7 @@ position: relative; display: inline-block; cursor: pointer; + z-index: 999; } .tooltip .tooltiptext {