mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
0fda84d71e
refs: https://github.com/TryGhost/Team/issues/1531 - any triple column collapses down to one and sits underneath each other - the mini charts' legends disappear and they also then go full width underneath each other - the resources module loses it's thumbnail at smaller widths - the 2/3 resources column goes to 1/2 - everything worth having has truncation that is only seen at very small sizes
35 lines
1.8 KiB
Handlebars
35 lines
1.8 KiB
Handlebars
<section class="gh-dashboard5-resource gh-dashboard5-staff-picks" {{did-insert this.load}}>
|
|
<article class="gh-dashboard5-resource-box">
|
|
<div class="gh-dashboard5-resource-title is-large has-border">
|
|
<h4>Staff picks</h4>
|
|
<p>Hand picked stories from around the web, published with Ghost.</p>
|
|
</div>
|
|
<div class="gh-dashboard5-resource-body">
|
|
<div class="gh-dashboard5-list">
|
|
{{#if (not (or this.loading this.error))}}
|
|
<div class="gh-dashboard5-list-body">
|
|
{{#each this.staffPicks as |entry|}}
|
|
<div class="gh-dashboard5-list-item">
|
|
<a class="gh-dashboard5-list-post permalink" href={{set-query-params entry.link utm_source='ghost'}} target="_blank" rel="noopener noreferrer">
|
|
<span class="gh-dashboard5-list-link">
|
|
<span>{{entry.title}}</span>
|
|
</span>
|
|
<div class="gh-dashboard5-resource-secondary">{{entry.creator}}</div>
|
|
</a>
|
|
</div>
|
|
{{else}}
|
|
<div class="gh-dashboard5-list-empty">
|
|
{{svg-jar "no-data-list"}}
|
|
<p>No staff picks yet.</p>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<div class="gh-dashboard5-resource-footer">
|
|
<a href="https://twitter.com/ghoststaffpicks" target="_blank" rel="noopener noreferrer">{{svg-jar "twitter-logo"}} <span>Follow on Twitter</span></a>
|
|
</div>
|
|
</article>
|
|
</section>
|