Fixing up the linting issues with my previous commit

refs: https://github.com/TryGhost/Team/issues/1462
This commit is contained in:
James Morris 2022-03-29 17:20:03 +01:00
parent 3b9525dd63
commit fa9b8829f1
8 changed files with 56 additions and 55 deletions

View File

@ -12,8 +12,7 @@
</div>
<div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric is-split">&nbsp;</h4>
<div class="gh-dashboard5-number">{{format-number this.dataEmailsSent}}</div>
<div class="gh-dashboard5-number is-solo">{{format-number this.dataEmailsSent}}</div>
<small class="gh-dashboard5-info">Sent in the past 30 days</small>
</div>

View File

@ -51,7 +51,6 @@ export default class ChartEmailOpenRate extends Component {
backgroundColor: '#14b8ff',
tension: 0.1,
cubicInterpolationMode: 'monotone',
fill: false,
pointRadius: 0,
pointHitRadius: 10,
borderColor: '#14b8ff',

View File

@ -9,8 +9,7 @@
</div>
<div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric is-split">&nbsp;</h4>
<div class="gh-dashboard5-number">{{this.data7Days}}</div>
<div class="gh-dashboard5-number is-solo">{{this.data7Days}}</div>
<small class="gh-dashboard5-info">Last 7 days</small>
</div>
</div>

View File

@ -80,22 +80,22 @@ export default class ChartMonthlyRevenue extends Component {
display: false,
maxTicksLimit: 5,
autoSkip: true,
maxRotation: 0,
minRotation: 0
maxRotation: 0,
minRotation: 0
},
type: 'time',
time: {
displayFormats: {
'millisecond': 'MMM DD',
'second': 'MMM DD',
'minute': 'MMM DD',
'hour': 'MMM DD',
'day': 'MMM DD',
'week': 'MMM DD',
'month': 'MMM DD',
'quarter': 'MMM DD',
'year': 'MMM DD',
}
displayFormats: {
millisecond: 'MMM DD',
second: 'MMM DD',
minute: 'MMM DD',
hour: 'MMM DD',
day: 'MMM DD',
week: 'MMM DD',
month: 'MMM DD',
quarter: 'MMM DD',
year: 'MMM DD'
}
}
}]
}

View File

@ -90,17 +90,17 @@ export default class ChartPaidMembers extends Component {
},
type: 'time',
time: {
displayFormats: {
'millisecond': 'MMM DD',
'second': 'MMM DD',
'minute': 'MMM DD',
'hour': 'MMM DD',
'day': 'MMM DD',
'week': 'MMM DD',
'month': 'MMM DD',
'quarter': 'MMM DD',
'year': 'MMM DD',
}
displayFormats: {
millisecond: 'MMM DD',
second: 'MMM DD',
minute: 'MMM DD',
hour: 'MMM DD',
day: 'MMM DD',
week: 'MMM DD',
month: 'MMM DD',
quarter: 'MMM DD',
year: 'MMM DD'
}
}
}]
}

View File

@ -80,22 +80,22 @@ export default class ChartTotalMembers extends Component {
display: false,
maxTicksLimit: 5,
autoSkip: true,
maxRotation: 0,
minRotation: 0
maxRotation: 0,
minRotation: 0
},
type: 'time',
time: {
displayFormats: {
'millisecond': 'MMM DD',
'second': 'MMM DD',
'minute': 'MMM DD',
'hour': 'MMM DD',
'day': 'MMM DD',
'week': 'MMM DD',
'month': 'MMM DD',
'quarter': 'MMM DD',
'year': 'MMM DD',
}
displayFormats: {
millisecond: 'MMM DD',
second: 'MMM DD',
minute: 'MMM DD',
hour: 'MMM DD',
day: 'MMM DD',
week: 'MMM DD',
month: 'MMM DD',
quarter: 'MMM DD',
year: 'MMM DD'
}
}
}]
}

View File

@ -80,22 +80,22 @@ export default class ChartTotalPaid extends Component {
display: false,
maxTicksLimit: 5,
autoSkip: true,
maxRotation: 0,
minRotation: 0
maxRotation: 0,
minRotation: 0
},
type: 'time',
time: {
displayFormats: {
'millisecond': 'MMM DD',
'second': 'MMM DD',
'minute': 'MMM DD',
'hour': 'MMM DD',
'day': 'MMM DD',
'week': 'MMM DD',
'month': 'MMM DD',
'quarter': 'MMM DD',
'year': 'MMM DD',
}
displayFormats: {
millisecond: 'MMM DD',
second: 'MMM DD',
minute: 'MMM DD',
hour: 'MMM DD',
day: 'MMM DD',
week: 'MMM DD',
month: 'MMM DD',
quarter: 'MMM DD',
year: 'MMM DD'
}
}
}]
}

View File

@ -1209,6 +1209,10 @@ a.gh-dashboard-container {
font-size: 2.2rem;
}
.gh-dashboard5-number.is-solo {
margin-top: 46px;
}
.gh-dashboard5-metric {
display: flex;
align-items: center;