diff --git a/apps/admin-x-design-system/src/global/form/Form.tsx b/apps/admin-x-design-system/src/global/form/Form.tsx index 9cffe9b912..08b0fd167c 100644 --- a/apps/admin-x-design-system/src/global/form/Form.tsx +++ b/apps/admin-x-design-system/src/global/form/Form.tsx @@ -41,6 +41,7 @@ const Form: React.FC = ({ if (marginBottom) { classes = clsx( classes, + (margins === 'xs' && 'mb-4'), (margins === 'sm' && 'mb-7'), (margins === 'md' && 'mb-10'), (margins === 'lg' && 'mb-12') @@ -50,6 +51,7 @@ const Form: React.FC = ({ if (marginTop) { classes = clsx( classes, + (margins === 'xs' && 'mt-4'), (margins === 'sm' && 'mt-7'), (margins === 'md' && 'mt-10'), (margins === 'lg' && 'mt-12') diff --git a/apps/admin-x-design-system/src/global/modal/Modal.tsx b/apps/admin-x-design-system/src/global/modal/Modal.tsx index e1cf6b4a59..f98bada492 100644 --- a/apps/admin-x-design-system/src/global/modal/Modal.tsx +++ b/apps/admin-x-design-system/src/global/modal/Modal.tsx @@ -156,7 +156,7 @@ const Modal: React.FC = ({ const buttons: ButtonProps[] = []; - let contentClasses; + let contentClasses = '[&_p]:text-pretty'; const removeModal = () => { confirmIfDirty(dirty, () => { @@ -196,7 +196,7 @@ const Modal: React.FC = ({ align === 'center' && 'mx-auto', align === 'left' && 'mr-auto', align === 'right' && 'ml-auto', - size !== 'bleed' && 'rounded', + size !== 'bleed' && 'rounded-xl', formSheet ? 'shadow-md' : 'shadow-xl', (animate && !formSheet && !animationFinished && align === 'center') && 'animate-modal-in', (animate && !formSheet && !animationFinished && align === 'right') && 'animate-modal-in-from-right', @@ -342,6 +342,7 @@ const Modal: React.FC = ({ ); contentClasses = clsx( + contentClasses, paddingClasses, 'py-0' ); diff --git a/apps/admin-x-settings/src/components/settings/email/newsletters/AddNewsletterModal.tsx b/apps/admin-x-settings/src/components/settings/email/newsletters/AddNewsletterModal.tsx index efc2853fde..0d98f59cee 100644 --- a/apps/admin-x-settings/src/components/settings/email/newsletters/AddNewsletterModal.tsx +++ b/apps/admin-x-settings/src/components/settings/email/newsletters/AddNewsletterModal.tsx @@ -83,7 +83,9 @@ const AddNewsletterModal: React.FC = () => { }} >
{ id='role' options={allowedRoleOptions} selectedOption={role} - separator={true} title="Role" onSelect={(value) => { setRole(value as RoleType); diff --git a/apps/admin-x-settings/src/components/settings/growth/recommendations/AddRecommendationModal.tsx b/apps/admin-x-settings/src/components/settings/growth/recommendations/AddRecommendationModal.tsx index ca06d45d76..9aa29c1ab7 100644 --- a/apps/admin-x-settings/src/components/settings/growth/recommendations/AddRecommendationModal.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/recommendations/AddRecommendationModal.tsx @@ -194,6 +194,7 @@ const AddRecommendationModal: React.FCYou can recommend any site your audience will find valuable, not just those published on Ghost.

{{#if (eq this.state 'INIT')}} {{/if}} diff --git a/ghost/admin/app/components/modal-member-tier.hbs b/ghost/admin/app/components/modal-member-tier.hbs index 4486cb2c43..e031b36f25 100644 --- a/ghost/admin/app/components/modal-member-tier.hbs +++ b/ghost/admin/app/components/modal-member-tier.hbs @@ -53,7 +53,7 @@ @disabled={{false}} @update={{this.updateExpiry}} /> - {{svg-jar "arrow-down-small"}} + {{#if (eq this.expiryAt "custom")}}

Hey there! It looks like you didn't save the changes you made. +
+ Save before you go!

- -

Save before you go!