Skip to content

Commit

Permalink
Also set text container to 0.5 width to be consistent with CTA.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclync committed Feb 26, 2025
1 parent d5355e1 commit 2bf7c2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ struct PointOfSaleCardPresentPaymentNonRetryableErrorMessageView: View {
.foregroundStyle(Color.posOnSurface)
.matchedGeometryEffect(id: animation.messageTransitionId, in: animation.namespace, properties: .position)
}
.frame(width: width * 0.5)

Spacer()
.frame(height: PointOfSaleCardPresentPaymentLayout.textAndButtonSpacing)
Expand Down

0 comments on commit 2bf7c2a

Please sign in to comment.