[object Object]

← back to Crazy News Channel

P24: every category page uses the same photo-card layout as the front page (retire newspaper-mode)

b6a601650dd04445b35d5db5a7b0f01e9451f994 · 2026-09-24 14:55:58 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01673i1FNbU9H28DomRKpHuk

Files touched

Diff

commit b6a601650dd04445b35d5db5a7b0f01e9451f994
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 24 14:55:58 2026 -0700

    P24: every category page uses the same photo-card layout as the front page (retire newspaper-mode)
    
    Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01673i1FNbU9H28DomRKpHuk
---
 index.html | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/index.html b/index.html
index d1dc142..7471a47 100644
--- a/index.html
+++ b/index.html
@@ -1040,13 +1040,11 @@ function renderStories() {
   // genuinely over a card, the next real pointerover re-sets this within a
   // tick, so this costs nothing on the normal hover path.
   state.hoveredCardId = null;
-  // Category view ("#/category/<x>") gets the dense "Newspaper Column"
-  // treatment (V4); the "All Categories" home view keeps the original
-  // photo-card stack. storyCardHTML()'s markup is IDENTICAL in both modes —
-  // only this CSS-mode class differs — so the keyed morph reconcile in
-  // patchStoryGrid() never has to reconcile across a markup-shape change
-  // from this toggle alone (a route change already swaps the id set).
-  els.storyGrid.classList.toggle("newspaper-mode", state.category !== "all");
+  // Every category view ("#/category/<x>") uses the SAME photo-card stack as
+  // the "All Categories" front page (Steve, 2026-09-24 — "make all the same as
+  // front page"). The old dense "Newspaper Column" mode (V4) is retired; its
+  // .newspaper-mode CSS stays in style.css but is never applied.
+  els.storyGrid.classList.remove("newspaper-mode");
   // Top-level completion state: every story has been deleted (a state that
   // didn't exist before the admin panel could delete the seeded 3) — this
   // is distinct from the per-category empty state below.

← 318cde7 P24: add article tags on every post, with a clickable #tag=  ·  back to Crazy News Channel  ·  gitignore: cover shots*/ , _tmp-*/ , cartoons/_shot-*.png e224274 →