Skip to content

fix(export/print): iframe style transfer and stabilize peak label positioning and sizing - #4328

Merged
hamed-musallam merged 1 commit into
mainfrom
fix-print-export
Aug 26, 2026
Merged

fix(export/print): iframe style transfer and stabilize peak label positioning and sizing#4328
hamed-musallam merged 1 commit into
mainfrom
fix-print-export

Conversation

@hamed-musallam

Copy link
Copy Markdown
Member
  • replace duplicated style-copy logic with shared transferStylesToDocument helper.
  • safely skip inaccessible stylesheet rules (SecurityError/NotAllowedError) instead of crashing.
  • fix peak label size and Y by measuring SVG height with getBBox.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploying nmrium with  Cloudflare Pages  Cloudflare Pages

Latest commit: f2a4504
Status: ✅  Deploy successful!
Preview URL: https://ad80a98b.nmrium.pages.dev
Branch Preview URL: https://fix-print-export.nmrium.pages.dev

View logs

@hamed-musallam
hamed-musallam force-pushed the fix-print-export branch 2 times, most recently from eb0836f to 116b329 Compare August 26, 2026 09:41
…itioning and sizing

- replace duplicated style-copy logic with shared transferStylesToDocument helper.
- safely skip inaccessible stylesheets rules (SecurityError/NotAllowedError) instead of crashing.
- fix peak label size and Y by measuring SVG height with getBBox.
@hamed-musallam
hamed-musallam merged commit 53fa2ef into main Aug 26, 2026
12 checks passed
@hamed-musallam
hamed-musallam deleted the fix-print-export branch August 26, 2026 10:23
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