diff --git a/pedi-foods/Sources/PediFoods/Views/Main/OrdersView.swift b/pedi-foods/Sources/PediFoods/Views/Main/OrdersView.swift index 94baa83..2f0b770 100644 --- a/pedi-foods/Sources/PediFoods/Views/Main/OrdersView.swift +++ b/pedi-foods/Sources/PediFoods/Views/Main/OrdersView.swift @@ -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)