From 918465a8ab51fba6738e22a8384860098e93d2e6 Mon Sep 17 00:00:00 2001 From: pigui Date: Thu, 1 Oct 2026 11:12:19 +0200 Subject: [PATCH] Keep posts with code inside a phone's width The single-column layout grew to its widest line, so a code block pushed the whole text past the edge of the screen. Co-Authored-By: Claude Opus 5.5 --- landing/src/app/ui/_detail.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/landing/src/app/ui/_detail.scss b/landing/src/app/ui/_detail.scss index f74472d..4954810 100644 --- a/landing/src/app/ui/_detail.scss +++ b/landing/src/app/ui/_detail.scss @@ -32,6 +32,10 @@ // ending in a dead end. .content-page__layout { display: grid; + // One column below the desktop layout, and one that may shrink: an + // implicit `auto` track grows to its widest line, and a code block in a + // post pushed the whole text past the edge of a phone. + grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: 5rem;