mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-09-14 20:00:38 +08:00
ad0c6ebeb8
Move code block wrapper creation from deferred JavaScript to a synchronous inline script at the end of <body>. This ensures the DOM structure is finalized before the browser's first paint, eliminating the visible "jump" when code blocks were wrapped after initial render. Split into two phases: 1. Inline sync script wraps <pre> in .code-block-wrapper before first paint 2. Deferred code-copy.js adds copy buttons to existing wrappers Co-authored-by: Claude <noreply@anthropic.com>
2.3 KiB
2.3 KiB