From f1215cb3a7b0ca8b7e28bb909950de763a3d406b Mon Sep 17 00:00:00 2001 From: mmso Date: Mon, 7 Nov 2022 14:48:34 +0100 Subject: Move free months in cycle selector --- .../subscription/SubscriptionCycleSelector.tsx | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/packages/components/containers/payments/subscription/SubscriptionCycleSelector.tsx b/packages/components/containers/payments/subscription/SubscriptionCycleSelector.tsx index 13b603ce33..520c498f8e 100644 --- a/packages/components/containers/payments/subscription/SubscriptionCycleSelector.tsx +++ b/packages/components/containers/payments/subscription/SubscriptionCycleSelector.tsx @@ -70,7 +70,15 @@ const CycleItemView = ({ <>
- {text} +
+ {text} + {freeMonths > 0 && ( + + {` + `} + {getMonthFreeText(freeMonths)} + + )} +
{c('Subscription price').t`For`} @@ -79,7 +87,7 @@ const CycleItemView = ({
- + {totalPerMonth} @@ -88,15 +96,6 @@ const CycleItemView = ({ {getDiscountPrice(discount, currency)}
- {freeMonths > 0 && ( -
-
- - {` + `} - {getMonthFreeText(freeMonths)} - -
- )}
); -- cgit v1.2.3