Compare commits

..

No commits in common. "6d71e17e61c4e944da73a531a252e135eb69364a" and "5f3a2979608b8340b5c694798439e52f32f8b4a0" have entirely different histories.

5 changed files with 7 additions and 32 deletions

View file

@ -53,7 +53,7 @@ const ConversationFrontend = React.forwardRef<HTMLDivElement, ConversationProps>
if (isScrolling) {
messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
}
}, [messages, isScrolling]);
}, [messages]);
return (
<div className="output" ref={ref}>

View file

@ -4,31 +4,6 @@ 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);

View file

@ -6,6 +6,7 @@
padding-left: 0.5em;
padding-right: 0;
margin: 0 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
@ -16,7 +17,6 @@
bottom: 3dvh;
right: 0.25vw;
box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.5);
z-index: 600;
}
.input input {

View file

@ -6,6 +6,7 @@
grid-column: 1/2;
grid-row: 1/2;
padding-bottom: 1px;
overflow: scroll;
overflow: hidden;
background-color: var(--history-background-color);
padding: 1em;
@ -18,7 +19,6 @@
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: hidden;
overflow: scroll;
position: relative;
height: 18vh;
width: 18vh;

View file

@ -6,7 +6,7 @@
background-color: var(--output-background-color);
margin: 1em;
margin-bottom: 0;
padding-bottom: 13dvh;
padding-bottom: 15dvh;
display: flex;
flex-direction: column;
justify-content: flex-start;
@ -73,7 +73,7 @@
position: relative;
display: inline-block;
cursor: pointer;
z-index: 900;
z-index: 999;
}
.tooltip .tooltiptext {
@ -87,7 +87,7 @@
/* Position the tooltip */
position: absolute;
top: 100%;
top: 125%;
/* Adjusts tooltip to be below the button */
left: 50%;
transform: translateX(-50%);