Fixed subtitle preview not respecting body font

closes https://linear.app/tryghost/issue/MOM-189
This commit is contained in:
Kevin Ansfield 2024-06-04 09:46:44 +01:00
parent fc7d9d12bb
commit 80e115fba5

View File

@ -135,7 +135,10 @@ const NewsletterPreviewContent: React.FC<{
Your email newsletter
</h2>
{(hasNewsletterSubtitle && showSubhead) && (
<p className="mb-5 text-pretty text-[1.6rem] leading-[1.7] text-black">A subtitle to highlight key points and engage your readers</p>
<p className={clsx(
'mb-5 text-pretty text-[1.6rem] leading-[1.7] text-black',
bodyFontCategory === 'serif' && 'font-serif'
)}>A subtitle to highlight key points and engage your readers</p>
)}
<div className={clsx(
'flex w-full justify-between text-center text-md leading-none text-grey-700',