feat: polish slides rendering (typography, media, images) - #7
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Add presentation-oriented slide CSS, detect short title slides as covers, and keep reading mode unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
Fix content slides back to block layout so wide media is not crushed, and add deck-oriented sizing for tables, images, Mermaid, and code. Co-authored-by: Cursor <cursoragent@cursor.com>
Parent-relative assets broke on the raw API (path collapse / ServeFile dot-dot rejection). Encode ".." segments, allow files under the git root, and use ServeContent. Slides Mermaid gets larger presentation sizing plus a richer sample diagram. Co-authored-by: Cursor <cursoragent@cursor.com>
Define CSS-only stage/surface polish for fullscreen slides while keeping non-fullscreen preview and reading mode unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
CSS-only stage/surface/content tasks with a fullscreen class regression. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Near-bleed surface with light/dark stage gradients, calmer chrome, and slightly stronger cover/quote/table contrast in fullscreen only. Co-authored-by: Cursor <cursoragent@cursor.com>
Stop passing CSS font stacks into beautiful-mermaid (broken Google Fonts import caused reflow). Isolate slide typography from diagram labels, avoid one-axis SVG scaling, and drop light-only classDef fills that clash on dark themes. Co-authored-by: Cursor <cursoragent@cursor.com>
Dark theme set light defaultFontColor but left white participant boxes, so labels vanished. Set sequence Participant/Actor/LifeLine colors explicitly for both themes. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
../…) via encoded raw paths + git-root allowlist, and enlarge Mermaid in presentation mode.Test plan
testdata/slides-media.md, switch to Slides, hard-refreshgo test ./internal/server/ -run TestFileRawParentAssetcd frontend && npm test -- --run src/utils/resolve.test.ts src/components/MermaidBlock.test.tsxMade with Cursor