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>
<div class="gh-dashboard5-box"> <div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric is-split">&nbsp;</h4> <div class="gh-dashboard5-number is-solo">{{format-number this.dataEmailsSent}}</div>
<div class="gh-dashboard5-number">{{format-number this.dataEmailsSent}}</div>
<small class="gh-dashboard5-info">Sent in the past 30 days</small> <small class="gh-dashboard5-info">Sent in the past 30 days</small>
</div> </div>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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