Skip to content

fix(web): keep PDF live preview at panel height - #65

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/live-preview-pdf-height
Jul 28, 2026
Merged

fix(web): keep PDF live preview at panel height#65
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/live-preview-pdf-height

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • give the Live Preview document surface a definite height
  • propagate that height through the EmbedPDF renderer chain
  • add a CSS regression test for the full PDF layout chain

Release QA

The public v0.10.12 binary rendered the PDF toolbar at only 71px while the preview stage was 422px. With this patch, the document surface, PDF viewer, embed wrapper, native viewer, and embedpdf-container all measure 422px in a real browser session.

Validation

  • bun run format:check
  • bun run lint:check
  • bun run typecheck
  • bun run build
  • bun run test (205 files, 1,230 tests)

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 996c707 into main Jul 28, 2026
1 check passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/live-preview-pdf-height branch July 28, 2026 17:57
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