This commit is contained in:
spaced4ndy
2026-08-17 18:51:55 +04:00
parent 59f3dbf813
commit 4a247d85b4
2 changed files with 3 additions and 3 deletions
@@ -150,7 +150,7 @@ struct BadgesPayView: View {
}
}
.multilineTextAlignment(.center)
.padding(.vertical, 30)
.padding(.vertical, 25)
.padding(.horizontal, 12)
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top)
.background(Color(uiColor: .secondarySystemGroupedBackground))
@@ -100,7 +100,7 @@ fun BadgesPayView(level: BadgeLevel) {
modifier = Modifier.fillMaxWidth().padding(top = 4.dp)
)
Spacer(Modifier.weight(1f).heightIn(min = 20.dp))
Spacer(Modifier.weight(1f).heightIn(min = 8.dp))
// IntrinsicSize.Max + fillMaxHeight on children so all three cards match the tallest one -
// only Annual carries a savings line, and prices wrap at large fonts.
@@ -113,7 +113,7 @@ fun BadgesPayView(level: BadgeLevel) {
PeriodCard(level, BadgePeriod.Annual, selectedPeriod, Modifier.weight(1f).fillMaxHeight()) { selectedPeriod = it }
}
Spacer(Modifier.weight(1f).heightIn(min = 20.dp))
Spacer(Modifier.weight(1f).heightIn(min = 8.dp))
// Replicates TextButtonBelowOnboardingButton spacing (7.5dp outer + 5dp inner) without a
// TextButton so the footer has no hover/click affordance.