Files
playwriter/website
Tommy D. Rossi ad2ac529d4 website: fix code block line number alignment when lineHeight prop differs from default
The CodeBlock component passes lineHeight to the parent <div> but the <code>
element was inheriting line-height: 1.85 from the Prism CSS rule
(code[class*="language-"]) which has higher specificity than inheritance.
This caused line numbers and code lines to drift apart when a custom
lineHeight was passed (e.g. the architecture diagram at 1.5).

Fix: pass lineHeight as inline style on <code> so it overrides the CSS rule.
Also reduce diagram block line-height from 1.5 to 1.3 for tighter rendering.
2026-02-21 16:52:35 +01:00
..
2026-01-27 13:35:22 +01:00
2025-12-30 14:25:19 +01:00
2025-12-30 14:25:19 +01:00
2025-12-30 17:45:45 +01:00