Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: fix floating clear button, bugfix: fix margin bar too high issue, bugfix: fix numerical list padding #3093

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions clients/search-component/src/TrieveModal/Chat/ChatMode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,6 @@ export const ChatMode = () => {
</span>
</div>
)}
{!props.inline && (currentQuestion || messages.length) ? (
<div className="chat-controls-row">
<button
onClick={() =>
currentQuestion
? askQuestion(currentQuestion)
: isDoneReading
? clearConversation()
: stopGeneratingMessage()
}
className="clear-button"
>
{currentQuestion ? "Enter" : isDoneReading ? "Clear" : "Stop"}
</button>
</div>
) : null}
<div
className={`system-information-wrapper${
currentGroup ? " with-group" : ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const UploadImage = () => {
mode === "chat"
? "right-14"
: query.length == 0
? "right-[9.5rem]"
? "right-[10rem]"
: "right-10"
} absolute z-20 dark:text-white text-zinc-700`}
>
Expand Down
8 changes: 0 additions & 8 deletions clients/search-component/src/TrieveModal/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ body {

.chat-outer-wrapper {
@apply justify-between w-full h-full;

&.chat-outer-popup {
@apply mt-10 sm:mt-12;
}
}
}

Expand Down Expand Up @@ -592,10 +588,6 @@ body {
.chat-outer-wrapper {
@apply flex flex-col px-4 scroll-smooth mt-0;

&.chat-outer-popup {
@apply mt-12;
}

.ai-message {
.message-wrapper {
@apply col-span-2 pr-4;
Expand Down