diff --git a/website/src/routes/liveline.tsx b/website/src/routes/liveline.tsx index 7f58a5c..a0bd7d8 100644 --- a/website/src/routes/liveline.tsx +++ b/website/src/routes/liveline.tsx @@ -330,7 +330,7 @@ function CodeBlock({ children, lang = "jsx" }: { children: string; lang?: string }, [children]); return ( -
+
+    
:nth-child(8) { animation-delay: 0.35s; } .liveline-article > :nth-child(n + 9) { animation-delay: 0.4s; } +/* ======================================================================== + Bleed — code blocks and images extend beyond the prose column so that + the code text (after line numbers) aligns with the prose left edge. + 36px = 8px div padding-left + 28px line-number span (border-box, includes padding). + ======================================================================== */ + +.ll-bleed { + margin-left: calc(-1 * var(--ll-bleed)); + margin-right: calc(-1 * var(--ll-bleed)); +} + +@media (max-width: 650px) { + .ll-bleed { + margin-left: 0; + margin-right: 0; + } +} + /* ======================================================================== Header fade gradient ======================================================================== */