Skip to content

fix(desktop): compact streamdown h1 rendering#5270

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/compact-streamdown-headings
May 19, 2026
Merged

fix(desktop): compact streamdown h1 rendering#5270
ComputelessComputer merged 1 commit into
mainfrom
fix/compact-streamdown-headings

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented May 19, 2026

Render top-level Streamdown headings as h3-sized text while keeping them above body copy.


Note

Low Risk
Low risk styling-only change, though it alters the semantic HTML tag used for h1 which could affect accessibility/anchor behavior if relied upon elsewhere.

Overview
Streamdown headings are now rendered more compactly. Both desktop and shared streamdownComponents downscale h1 to render as an h3 with text-base, and reduce h2/h3 typography to text-sm, keeping heading spacing consistent while making titles less visually dominant.

Reviewed by Cursor Bugbot for commit c2b47d6. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for old-char ready!

Name Link
🔨 Latest commit c2b47d6
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a0c58347c8156000879645e
😎 Deploy Preview https://deploy-preview-5270--old-char.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2b150c5. Configure here.

Comment thread apps/desktop/src/session/components/streamdown.tsx
Render top-level Streamdown headings as h3-sized text while keeping them above body copy.
@ComputelessComputer ComputelessComputer force-pushed the fix/compact-streamdown-headings branch from 2b150c5 to c2b47d6 Compare May 19, 2026 12:31
@ComputelessComputer ComputelessComputer merged commit 79e80a5 into main May 19, 2026
11 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/compact-streamdown-headings branch May 19, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant