[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.
This commit is contained in:
Daniel Arantes Loverde
2026-08-24 13:35:32 -03:00
parent 59ec6ffd6f
commit 394d53df91

View File

@@ -28,7 +28,7 @@ struct HomeView: View {
private let headerExpandedHeight: CGFloat = 240 private let headerExpandedHeight: CGFloat = 240
private let headerCollapsedHeight: CGFloat = 120 private let headerCollapsedHeight: CGFloat = 120
private let contentTopSpacing: CGFloat = 18 private let contentTopSpacing: CGFloat = 0
private let contentBottomSpacing: CGFloat = 120 private let contentBottomSpacing: CGFloat = 120
var body: some View { var body: some View {