From 19353a51c869f4b24ef2253d856084b6e6728048 Mon Sep 17 00:00:00 2001 From: grm Date: Fri, 18 Sep 2026 12:10:26 +0300 Subject: Pair headed gizmo announcements two to a row, split by text length MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Headed gizmo boxes used to share a row equally, up to three of them. Now placeNotices pairs consecutive ones in the main column and gives the pair one of the fixed splits — 25/75, 33/67, 50/50, 67/33, 75/25 — nearest the ratio of the text each shows, so the wordier box gets the room. The bases add up to 90% so a third box never joins the row, and a side column, too narrow for two, stacks them. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- internal/web/templates/layouts/blog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/web/templates/layouts') diff --git a/internal/web/templates/layouts/blog.html b/internal/web/templates/layouts/blog.html index 5b1f984..29147e7 100644 --- a/internal/web/templates/layouts/blog.html +++ b/internal/web/templates/layouts/blog.html @@ -44,7 +44,7 @@ {{end}} {{define "notices"}}{{if .}}
-{{range .}}