From 09b2fb5d0ef52ea57ab7166a0358bcc7e0c4fb84 Mon Sep 17 00:00:00 2001 From: Manuel Staggl Date: Fri, 13 Nov 2026 17:45:39 +0100 Subject: [PATCH] fix: roadmap hides an empty "Next" box The app's roadmap can have nothing under "Next" (SolidCraft 0.40 final is out); the box is then left out and the others share the row. Co-Authored-By: Claude Opus 5.5 --- src/pages/index.astro | 4 ++-- src/styles/global.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index c98f554..6c5af8d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -234,10 +234,10 @@ const jsonLd = {

Works today

-
+ {status.next.length > 0 &&

Next

    {status.next.map((s) =>
  • {s}
  • )}
-
+
}

Later

    {status.later.map((s) =>
  • {s}
  • )}
diff --git a/src/styles/global.css b/src/styles/global.css index 5885d5c..26994e0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -277,7 +277,8 @@ h3 { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.3; } .status .release { display: flex; flex-direction: column; gap: 6px; justify-content: space-between; } .status .release strong { font-size: 1.5rem; letter-spacing: -0.02em; } .status .release time, .status .release p { color: var(--muted); font-size: 0.9375rem; } -@media (min-width: 900px) { .status { grid-template-columns: repeat(4, 1fr); } } +/* One column per box, so the row stays full when the app's roadmap has no "Next". */ +@media (min-width: 900px) { .status { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } } /* ---------- Final call ---------- */ .final { position: relative; z-index: 0; text-align: center; padding: clamp(96px, 14vw, 176px) 0; }