From 8d5cf620ff3fcb6b1f4af2bc01e8ccbee18a8696 Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Wed, 2 Oct 2024 09:37:58 +0200 Subject: [PATCH] svg icons for even more everything --- app/components/ConversationFrontend.tsx | 6 ++++-- app/styles/output.css | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) 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 {