Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix campaign stats cell width

Kailash Nadh0f56a5c1a596
diff --git a/frontend/my/src/Campaigns.js b/frontend/my/src/Campaigns.js
index daded3c0..4ed47ff0 100644
--- a/frontend/my/src/Campaigns.js
+++ b/frontend/my/src/Campaigns.js
@@ -45,7 +45,7 @@ class Campaigns extends React.PureComponent {
title: "Name",
dataIndex: "name",
sorter: true,
- width: "30%",
+ width: "20%",
vAlign: "top",
render: (text, record) => {
const out = [];
@@ -85,7 +85,7 @@ class Campaigns extends React.PureComponent {
{
title: "Lists",
dataIndex: "lists",
- width: "20%",
+ width: "25%",
align: "left",
className: "lists",
render: (lists, record) => {
@@ -93,15 +93,16 @@ class Campaigns extends React.PureComponent {
lists.forEach((l) => {
out.push(
<span className="name" key={`name-${l.id}`}><Link to={ `/subscribers/lists/${l.id}` }>{ l.name }</Link></span>
- )
- })
-
- return out
- }
- },
+ )
+ })
+
+ return out
+ }
+ },
{
title: "Stats",
className: "stats",
+ width: "30%",
render: (text, record) => {
if(record.status !== cs.CampaignStatusDraft && record.status !== cs.CampaignStatusScheduled) {
return this.renderStats(record)