[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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user