Skip to content
Open
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
65 changes: 30 additions & 35 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/browser/features/Messages/MarkdownCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ export const MarkdownCore = React.memo<MarkdownCoreProps>(
// Use "static" mode for completed content to bypass useTransition() deferral.
// After ORPC migration, async event boundaries let React deprioritize transitions indefinitely.
mode={parseIncompleteMarkdown ? "streaming" : "static"}
className="space-y-2" // Reduce from default space-y-4 (16px) to space-y-2 (8px)
// space-y-2: reduce from default space-y-4 (16px) to space-y-2 (8px).
// The viewport-aware fade-in is handled by the parent .markdown-content
// element (mask-image gradient gated on data-streaming); see globals.css.
className="space-y-2"
controls={{ table: false, code: true, mermaid: true }} // Disable table copy/download, keep code/mermaid controls
>
{normalizedContent}
Expand Down
Loading
Loading