Render email title in stats through two columns

[PREMIUM-146]
This commit is contained in:
Ján Mikláš
2020-11-17 13:34:28 +01:00
committed by Veljko V
parent b2bcd7eb39
commit b88d7fbe0f
2 changed files with 5 additions and 2 deletions

View File

@@ -54,3 +54,7 @@
column-gap: $grid-gap;
columns: 2 auto;
}
.mailpoet-grid-span-two-columns {
grid-column: span 2;
}

View File

@@ -16,7 +16,7 @@ export const NewsletterStatsInfo = ({
const newsletterDate = newsletter.queue.scheduled_at || newsletter.queue.created_at;
return (
<Grid.ThreeColumns className="mailpoet-stats-info">
<div>
<div className="mailpoet-grid-span-two-columns">
<Heading level={1}>{newsletter.subject}</Heading>
<div>
<b>
@@ -33,7 +33,6 @@ export const NewsletterStatsInfo = ({
</div>
)}
</div>
<div />
<div className="mailpoet-stats-info-sender-preview">
<div>
{newsletter.sender_address && (