fix content sizes

This commit is contained in:
Daniel Arantes Loverde
2026-03-05 11:09:47 -03:00
parent a98089b48d
commit 30f0327a53

View File

@@ -126,12 +126,11 @@ struct OrdersView: View {
.font(AppTypography.heading3)
.foregroundStyle(AppColors.textMuted)
.lineLimit(1)
.minimumScaleFactor(0.01)
.frame(maxWidth: .infinity, alignment: .leading)
.minimumScaleFactor(0.5)
.buttonStyle(.plain)
.layoutPriority(2)
.layoutPriority(0)
Spacer()
Spacer(minLength: 8)
Button {
if status.isInProgress {
@@ -150,15 +149,18 @@ struct OrdersView: View {
Text(status.isInProgress ? "Acompanhar" : "Pedir Novamente")
.font(AppTypography.heading3)
.lineLimit(1)
.minimumScaleFactor(0.5)
}
.lineLimit(1)
//.frame(minWidth: status.isInProgress ? 136 : 184)
.foregroundStyle(status.actionForeground)
.padding(.horizontal, 16)
.padding(.horizontal, 14)
.padding(.vertical, 11)
.background(status.actionBackground)
.clipShape(Capsule())
}
.buttonStyle(.plain)
.layoutPriority(2)
}
}
.padding(18)