scroll sticked

This commit is contained in:
Daniel Arantes Loverde
2026-02-12 15:27:43 -03:00
parent b027a10c8d
commit c7740174d1

View File

@@ -286,7 +286,7 @@ struct StoreDetailView: View {
}
}
.padding(.horizontal, 16)
.padding(.vertical, 10)
.padding(.bottom, 10)
.padding(.top, isSticky ? categoryTabsPinnedInset(safeTop: safeTop) : 10)
}
.background(AppColors.backgroundLight)
@@ -301,7 +301,7 @@ struct StoreDetailView: View {
}
private func categoryTabsPinnedInset(safeTop: CGFloat) -> CGFloat {
max(20, safeTop + 8)
max(8, safeTop - 44)
}
private func debugNumber(_ value: CGFloat) -> String {