From 394d53df91ee1454d7e78af080b4721c4e33c448 Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Mon, 24 Aug 2026 13:35:32 -0300 Subject: [PATCH] [home-header-spacing] Remove redundant top padding above Categorias contentTopSpacing (18pt) was stacked on top of the content VStack's own 24pt inter-section spacing, giving header-to-Categorias a wider gap (42pt) than every other section-to-section gap in Home (24pt). Dropping it to 0 makes the gap consistent with the rest of the screen. --- PediFoods/Views/Main/HomeView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PediFoods/Views/Main/HomeView.swift b/PediFoods/Views/Main/HomeView.swift index 093e102..7dc9b63 100644 --- a/PediFoods/Views/Main/HomeView.swift +++ b/PediFoods/Views/Main/HomeView.swift @@ -28,7 +28,7 @@ struct HomeView: View { private let headerExpandedHeight: CGFloat = 240 private let headerCollapsedHeight: CGFloat = 120 - private let contentTopSpacing: CGFloat = 18 + private let contentTopSpacing: CGFloat = 0 private let contentBottomSpacing: CGFloat = 120 var body: some View {