Skip to content

Commit 85ae06c

Browse files
correcting scroll & chat response view better code (#960)
1 parent 3006094 commit 85ae06c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/app/chat/[chatId]/components/ChatMessages/components/ChatMessage/components/ChatMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const ChatMessage = React.forwardRef(
3535

3636
const markdownClasses = cn(
3737
"prose",
38-
isUserSpeaker ? "dark:prose-invert" : "dark:prose"
38+
"dark:prose-invert"
3939
);
4040

4141
return (

frontend/app/chat/[chatId]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const SelectedChatPage = (): JSX.Element => {
1010
<section className="flex flex-col flex-1 items-center w-full h-full min-h-[70vh]">
1111
<ChatHeader />
1212
<div className="flex-1 flex flex-col mt-8 w-full shadow-md dark:shadow-primary/25 hover:shadow-xl transition-shadow rounded-xl overflow-hidden bg-white dark:bg-black border border-black/10 dark:border-white/25 p-12 pt-10 max-h-[80vh]">
13-
<div className="flex flex-1 flex-col overflow-scroll">
13+
<div className="flex flex-1 flex-col overflow-hidden">
1414
<ChatDialog />
1515
</div>
1616
<ActionsBar />

0 commit comments

Comments
 (0)