From c155fc33b43a42bfa99738f5825778966fb04f0d Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sun, 24 May 2026 10:17:45 +0200 Subject: [PATCH] fix(hikes): keep stat value + descriptor together in the metrics row The metrics flex row stretched each tile to the tall route-icon's height, so the grid's auto rows spread apart and pushed the value and its label to opposite halves. Center the items instead of stretching. --- package.json | 2 +- src/routes/hikes/[slug]/+page.svelte | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3687002b..fbdc00ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homepage", - "version": "1.86.0", + "version": "1.86.1", "private": true, "type": "module", "scripts": { diff --git a/src/routes/hikes/[slug]/+page.svelte b/src/routes/hikes/[slug]/+page.svelte index 2c43cbc9..a7e8416c 100644 --- a/src/routes/hikes/[slug]/+page.svelte +++ b/src/routes/hikes/[slug]/+page.svelte @@ -689,6 +689,9 @@ display: flex; flex-wrap: wrap; justify-content: center; + /* Center, don't stretch: otherwise each tile is pulled to the tall + * route-icon's height and its value/descriptor rows spread apart. */ + align-items: center; gap: 1rem 2.25rem; padding: 1.5rem 1rem; color: var(--color-text-secondary);