From 9374f6395312f987004318774b46d302401b5fd3 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 6 Jun 2026 17:04:23 -0400 Subject: [PATCH] fix(posts): post-card thumbnail strip spans the full hero width The hero collage's thumbnail rail hard-capped at 3 fixed-80px cells, left- aligned, so it never reached the edge of the (50%-width) hero. Make the rail a CSS grid of equal columns (1fr) at a fixed height that stretches to the hero's full width: show up to 5 thumbnails, and when a post has more images than fit, the last cell becomes the "+N" overflow tile (count unchanged). Column count is driven by --fc-rail-cols so the strip always reaches the hero edge regardless of image count. Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/components/posts/PostCard.vue | 40 +++++++++++++++++----- frontend/test/components/postCard.spec.js | 24 +++++++++++++ 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/posts/PostCard.vue b/frontend/src/components/posts/PostCard.vue index 29aa76d..cd1c2aa 100644 --- a/frontend/src/components/posts/PostCard.vue +++ b/frontend/src/components/posts/PostCard.vue @@ -34,7 +34,10 @@ > hero thumbnail -
+