0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Fixed linting bugs and tweaked mini chart starting heights

refs: https://github.com/TryGhost/Team/issues/1531
This commit is contained in:
James Morris 2022-04-28 17:55:36 +01:00
parent fcd11fe471
commit 8c692b1d73
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<article class="gh-dashboard5-resource-box">
{{#if (not (or this.loading this.error))}}
<div class="gh-dashboard5-resource-thumbnail" style="background-image: url({{this.resource.feature_image}})"></div>
<div class="gh-dashboard5-resource-thumbnail" style={{html-safe (concat "background-image: url(" this.resource.feature_image ")")}}></div>
<div class="gh-dashboard5-resource-body">
<div>
<div class="gh-dashboard5-resource-title">

View file

@ -1,9 +1,9 @@
import Component from '@glimmer/component';
import fetch from 'fetch';
import {action} from '@ember/object';
import {inject as service} from '@ember/service';
import {task} from 'ember-concurrency';
import {tracked} from '@glimmer/tracking';
import {inject as service} from '@ember/service';
const API_URL = 'https://resources.ghost.io/resources';
const API_KEY = 'b30afc1721f5d8d021ec3450ef';
@ -58,6 +58,6 @@ export default class Resources extends Component {
}
get hasNothingEnabled() {
return (!this.areMembersEnabled && !areNewslettersEnabled && !hasPaidTiers);
return (!this.areMembersEnabled && !this.areNewslettersEnabled && !this.hasPaidTiers);
}
}

View file

@ -468,7 +468,7 @@ Dashboard v5 Chart */
.gh-dashboard5-minicharts .gh-dashboard5-chart {
width: 100%;
height: 100%;
height: 110px;
padding: 0 0 0 30%;
}