Skip to content
Closed
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
2 changes: 1 addition & 1 deletion frontend/src/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export function Markdown(

return (
<div
className="markdown-body"
className="markdown-body overflow-x-auto max-w-full min-w-0"
style={{
fontSize: `${props.fontSize ?? 16}px`,
fontFamily: props.fontFamily || "inherit"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/_auth.chat.$chatId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function UserMessage({ text, chatId }: { text: string; chatId: string }) {
<div>
<UserIcon />
</div>
<div className="flex flex-col gap-2">
<div className="flex flex-col gap-2 min-w-0">
<Markdown content={text} loading={false} chatId={chatId} />
</div>
</div>
Expand Down Expand Up @@ -60,7 +60,7 @@ function SystemMessage({
<div>
<AsteriskIcon />
</div>
<div className="flex flex-col gap-2">
<div className="flex flex-col gap-2 min-w-0">
<Markdown content={text} loading={loading} chatId={chatId} />
<Button
variant="ghost"
Expand Down
Loading