From a5a5c2ea71ac12677952f3a7374a4817a0e085e2 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Tue, 3 Oct 2023 11:58:56 +0100 Subject: [PATCH] Updated recommendation preview design refs https://github.com/TryGhost/Product/issues/3991 --- .../RecommendationReasonForm.tsx | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx b/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx index a9132a1df3..4f4e9c4711 100644 --- a/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx +++ b/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx @@ -26,16 +26,22 @@ const RecommendationReasonForm: React.FC
Preview - -
-
- - {formState.title} +
+ - {formState.one_click_subscribe && Subscribe} - +
{formState.one_click_subscribe && This is a Ghost site, so your readers can subscribe with just one click}
@@ -66,7 +72,7 @@ const RecommendationReasonForm: React.FCMax: 200 characters. You’ve used {reasonLength}} - rows={3} + rows={4} title="Short description" value={formState.reason ?? ''} onChange={(e) => {