From b580355a17e7c2a24f4f286c28859e053699e7ed Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Thu, 13 Jul 2023 09:53:37 +0200 Subject: [PATCH] Admin X Tiers refinements (#17344) refs. https://github.com/TryGhost/Product/issues/3580 - The Tiers list had an unnecessary extra separator on top - Spacing was a bit off in the benefits list in the Tier detail modal --- .../src/admin-x-ds/assets/icons/money-bags.svg | 1 + .../src/admin-x-ds/global/List.tsx | 2 +- .../settings/membership/tiers/TierDetailModal.tsx | 2 +- .../settings/membership/tiers/TiersList.tsx | 14 ++++++++++++-- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 apps/admin-x-settings/src/admin-x-ds/assets/icons/money-bags.svg diff --git a/apps/admin-x-settings/src/admin-x-ds/assets/icons/money-bags.svg b/apps/admin-x-settings/src/admin-x-ds/assets/icons/money-bags.svg new file mode 100644 index 0000000000..6a126bd0e3 --- /dev/null +++ b/apps/admin-x-settings/src/admin-x-ds/assets/icons/money-bags.svg @@ -0,0 +1 @@ +money-bags \ No newline at end of file diff --git a/apps/admin-x-settings/src/admin-x-ds/global/List.tsx b/apps/admin-x-settings/src/admin-x-ds/global/List.tsx index d0b990662e..b972d9af76 100644 --- a/apps/admin-x-settings/src/admin-x-ds/global/List.tsx +++ b/apps/admin-x-settings/src/admin-x-ds/global/List.tsx @@ -38,7 +38,7 @@ const List: React.FC = ({title, titleSeparator, children, actions, hi <> {pageTitle && {pageTitle}}
- +
{children}
diff --git a/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailModal.tsx b/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailModal.tsx index c7783c8f21..063bf3b1dd 100644 --- a/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailModal.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/tiers/TierDetailModal.tsx @@ -155,7 +155,7 @@ const TierDetailModal: React.FC = ({tier}) => { } onMove={benefits.moveItem} /> -
+
= ({tier, updateTier}) => { if (tier.active) { return ( -