From d46d0e7ee85c1a08e605f518533ed51af1c7ce87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 02:44:49 +0200 Subject: [PATCH] fix(medications): align detail-page spacing ladder The /medications/[id]/history page wraps its sections in space-y-4 (16 px); each section paints a 1 px border so the effective gap reads ~14 px against the text-xs body density. Lifting the wrapper to space-y-6 (24 px) matches the /insights/* sub-page stride and gives the page room to breathe after the heading-scale collapse. --- src/app/medications/[id]/history/page.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/medications/[id]/history/page.tsx b/src/app/medications/[id]/history/page.tsx index 527a7f1bb..c718c07b9 100644 --- a/src/app/medications/[id]/history/page.tsx +++ b/src/app/medications/[id]/history/page.tsx @@ -54,8 +54,14 @@ export default function IntakeHistoryPage({ ); } + // D-H8 — bump the sibling-section stride from `space-y-4` (16 px) + // to `space-y-6` (24 px) so the medication-detail page matches the + // `/insights/*` sub-page stride. The earlier 16 px gap rode tight + // against each section's 1 px border (~14 px optical gap) and read + // dense after the heading collapse landed in the canonical + // ``. return ( -
+