diff --git a/app/components/ConversationFrontend.tsx b/app/components/ConversationFrontend.tsx index 9aa2c52..b294b01 100644 --- a/app/components/ConversationFrontend.tsx +++ b/app/components/ConversationFrontend.tsx @@ -75,32 +75,33 @@ const ConversationFrontend = React.forwardRef
+ Stop
Resend
Edit
{isClicked?"Copied!": "Copy" }
- + ); } diff --git a/app/components/Documentation.tsx b/app/components/Documentation.tsx index 01b4b34..81df5e9 100644 --- a/app/components/Documentation.tsx +++ b/app/components/Documentation.tsx @@ -31,10 +31,10 @@ const Documentation = () => {

Draw.io:

-

Insert your Draw.io diagrams here.

+ Live Message Skizze

Inspiration:

-

Describe your inspirations here.

+

We got our inspiration from Huggingchat.

First prototype:

diff --git a/app/components/InputFrontend.tsx b/app/components/InputFrontend.tsx index 7ae6fd7..1fbd1b8 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 a7a0030..69b57d8 100644 --- a/app/components/Login.tsx +++ b/app/components/Login.tsx @@ -86,7 +86,7 @@ const Login: React.FC = () => {

{/* Login or Settings Button */} {/* Conditional rendering of the Login Popup */} diff --git a/app/styles/global.css b/app/styles/global.css index 0acb073..e3d771c 100644 --- a/app/styles/global.css +++ b/app/styles/global.css @@ -4,6 +4,31 @@ body { position: relative; } +/* Chrome, Edge, and Safari */ +::-webkit-scrollbar { + width: 12px; + /* Adjust width for horizontal and vertical scrollbars */ +} + +::-webkit-scrollbar-track { + background: #f0f0f0; + /* Background of the scrollbar track */ +} + +::-webkit-scrollbar-thumb { + background-color: #888; + /* Color of the draggable part (thumb) */ + border-radius: 10px; + /* Rounded corners */ + border: 2px solid #f0f0f0; + /* Space around the thumb */ +} + +::-webkit-scrollbar-thumb:hover { + background-color: #555; + /* Thumb color on hover */ +} + body { background-color: var(--background-color); color: var(--text-color); diff --git a/app/styles/header.css b/app/styles/header.css index a540ad3..af4c1c0 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -75,7 +75,7 @@ header{ .login-button-container{ position: absolute; - top: 0.2vh; + top: 0.1vh; right: 1vw; height: 100%; display: flex; @@ -83,11 +83,10 @@ header{ } .header-login-button{ + height: 100%; + width:4vw; font-size: var(--font-size); - /* position: absolute; - top: 1.5vh; - right: 1vw; */ - padding: 10px 20px; + padding: 3px; background-color: var(--input-button-color); color: var(--text-color); border: none; @@ -95,6 +94,9 @@ 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/input.css b/app/styles/input.css index 3233b14..dad1d56 100644 --- a/app/styles/input.css +++ b/app/styles/input.css @@ -6,7 +6,6 @@ padding-left: 0.5em; padding-right: 0; margin: 0 10px; - margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; @@ -17,6 +16,7 @@ bottom: 3dvh; right: 0.25vw; box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.5); + z-index: 600; } .input input { diff --git a/app/styles/models.css b/app/styles/models.css index ccd49c6..258f71a 100644 --- a/app/styles/models.css +++ b/app/styles/models.css @@ -6,7 +6,6 @@ grid-column: 1/2; grid-row: 1/2; padding-bottom: 1px; - overflow: scroll; overflow: hidden; background-color: var(--history-background-color); padding: 1em; @@ -19,6 +18,7 @@ display: flex; flex-direction: column; height: 100%; + overflow: hidden; overflow-y: scroll; } @@ -53,7 +53,7 @@ justify-content: center; color: var(--text-color); /* Use variable for text color */ border-radius: 5%; - overflow: scroll; + overflow: hidden; position: relative; height: 18vh; width: 18vh; diff --git a/app/styles/output.css b/app/styles/output.css index 93fcbf2..2a4fe50 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: 13dvh; 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; @@ -69,16 +69,11 @@ 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: 900; } .tooltip .tooltiptext { @@ -92,7 +87,7 @@ /* Position the tooltip */ position: absolute; - top: 125%; + top: 100%; /* Adjusts tooltip to be below the button */ left: 50%; transform: translateX(-50%); diff --git a/public/img/Live-Message-Idee.jpg b/public/img/Live-Message-Idee.jpg new file mode 100644 index 0000000..061518e Binary files /dev/null and b/public/img/Live-Message-Idee.jpg differ