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:
parent
fcd11fe471
commit
8c692b1d73
3 changed files with 4 additions and 4 deletions
|
@ -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">
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -468,7 +468,7 @@ Dashboard v5 Chart */
|
|||
|
||||
.gh-dashboard5-minicharts .gh-dashboard5-chart {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 110px;
|
||||
padding: 0 0 0 30%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue