diff --git a/app/components/ConversationFrontend.tsx b/app/components/ConversationFrontend.tsx index 832104b..9aa2c52 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]); + }, [messages, isScrolling]); return (
@@ -75,33 +75,32 @@ const ConversationFrontend = React.forwardRef
+ stop + Stop
Resend
Edit
{isClicked?"Copied!": "Copy" }
- +
); } diff --git a/app/components/Documentation.tsx b/app/components/Documentation.tsx index 81df5e9..01b4b34 100644 --- a/app/components/Documentation.tsx +++ b/app/components/Documentation.tsx @@ -31,10 +31,10 @@ const Documentation = () => {

Draw.io:

- Live Message Skizze +

Insert your Draw.io diagrams here.

Inspiration:

-

We got our inspiration from Huggingchat.

+

Describe your inspirations here.

First prototype:

diff --git a/app/components/InputFrontend.tsx b/app/components/InputFrontend.tsx index 1fbd1b8..7ae6fd7 100644 --- a/app/components/InputFrontend.tsx +++ b/app/components/InputFrontend.tsx @@ -49,10 +49,10 @@ const InputFrontend = React.forwardRef( onKeyDown={handleKeyDown} /> ); diff --git a/app/components/Login.tsx b/app/components/Login.tsx index b56d064..e2e8c32 100644 --- a/app/components/Login.tsx +++ b/app/components/Login.tsx @@ -81,7 +81,7 @@ const Login: React.FC = () => {

{/* Login or Settings Button */} {/* Conditional rendering of the Login Popup */} diff --git a/app/styles/header.css b/app/styles/header.css index af4c1c0..a540ad3 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -75,7 +75,7 @@ header{ .login-button-container{ position: absolute; - top: 0.1vh; + top: 0.2vh; right: 1vw; height: 100%; display: flex; @@ -83,10 +83,11 @@ header{ } .header-login-button{ - height: 100%; - width:4vw; font-size: var(--font-size); - padding: 3px; + /* position: absolute; + top: 1.5vh; + right: 1vw; */ + padding: 10px 20px; background-color: var(--input-button-color); color: var(--text-color); border: none; @@ -94,9 +95,6 @@ header{ cursor: pointer; transition: background-color 0.3s; font-family: var(--font-family); - display: flex; - justify-content: center; - align-items: center; } .header-login-button:hover { diff --git a/app/styles/output.css b/app/styles/output.css index 2bd949d..93fcbf2 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: 15dvh; + padding-bottom: 14dvh; display: flex; flex-direction: column; justify-content: flex-start; font-size: 1em; overflow-y: auto; width: calc(100% - 2em); /* Corrected calculation for width */ - height: 85dvh; + height: 86dvh; position: relative; } @@ -22,7 +22,7 @@ flex-direction: column; padding-left: 10px; overflow-y: auto; - height: 75dvh; + height: 80vh; background-color: var(--output-background-color); border-radius: 10px; scroll-behavior: smooth; @@ -69,11 +69,16 @@ background-color: var(--button-hover-background-color); } +.button-container img { + height: 20px; + width: 20px; +} + .tooltip { position: relative; display: inline-block; + margin: 5px; cursor: pointer; - z-index: 999; } .tooltip .tooltiptext { diff --git a/public/img/Live-Message-Idee.jpg b/public/img/Live-Message-Idee.jpg deleted file mode 100644 index 061518e..0000000 Binary files a/public/img/Live-Message-Idee.jpg and /dev/null differ