Updated Archive Newsletter modal (#20594)

Fixes
https://linear.app/tryghost/issue/DES-470/spacing-on-newsletter-archive-warning-modal-is-missing-between

The modal now follows the same markup as the _Archive Tier_ modal, and
therefore shows whitespace between both paragraphs.
This commit is contained in:
Daniël van der Winden 2024-07-11 15:32:22 +02:00 committed by GitHub
parent 74e4ee340a
commit 57dc5f8ded
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,8 +129,8 @@ const Sidebar: React.FC<{
NiceModal.show(ConfirmationModal, {
title: 'Archive newsletter',
prompt: <>
<p>Your newsletter <strong>{newsletter.name}</strong> will no longer be visible to members or available as an option when publishing new posts.</p>
<p>Existing posts previously sent as this newsletter will remain unchanged.</p>
<div className="mb-6">Your newsletter <strong>{newsletter.name}</strong> will no longer be visible to members or available as an option when publishing new posts.</div>
<div>Existing posts previously sent as this newsletter will remain unchanged.</div>
</>,
okLabel: 'Archive',
okColor: 'red',