fix(store): revert non-image elements to original, stretch only cover image

This commit is contained in:
Daniel Arantes Loverde
2026-06-03 15:16:23 -03:00
parent 3e18c02f4d
commit 82ab29388f
5 changed files with 1 additions and 77 deletions

View File

@@ -11,16 +11,14 @@ extension StoreDetailView {
Rectangle()
.fill(AppColors.backgroundLight)
.frame(height: max(0, topSectionHeight - coverVisibleUntilY))
.offset(y: coverVisibleUntilY - stretchAmount)
.offset(y: coverVisibleUntilY)
summaryCard
.padding(.horizontal, 16)
.padding(.top, cardTopInset)
.offset(y: -stretchAmount)
storeLogoBadge
.padding(.top, cardTopInset - (storeLogoSize / 2))
.offset(y: -stretchAmount)
}
.frame(height: topSectionHeight)
}
@@ -39,7 +37,6 @@ extension StoreDetailView {
)
.frame(height: topSectionHeight)
.ignoresSafeArea(.container, edges: .top)
.offset(y: -stretchAmount)
.allowsHitTesting(false)
VStack(spacing: 0) {
@@ -69,7 +66,6 @@ extension StoreDetailView {
.foregroundStyle(Color.white.opacity(0.92))
.padding(.bottom, 14)
}
.offset(y: -stretchAmount)
}
}