mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +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
25 lines
1.2 KiB
Handlebars
25 lines
1.2 KiB
Handlebars
<section class="gh-dashboard5-resource gh-dashboard5-newsletter" {{did-insert this.load}}>
|
|
<article class="gh-dashboard5-resource-box">
|
|
<div class="gh-dashboard5-resource-title">
|
|
<h4>Latest from the newsletter</h4>
|
|
</div>
|
|
<div class="gh-dashboard5-resource-body">
|
|
{{#if (not (or this.loading this.error))}}
|
|
<div class="gh-dashboard5-resource-bigarticle">
|
|
{{#each this.newsletters as |entry|}}
|
|
<a class="gh-dashboard5-resource-smallarticle" href={{set-query-params entry.url utm_source='admin'}} target="_blank" rel="noopener noreferrer">
|
|
<div class="gh-dashboard5-resource-text">
|
|
<h3>{{entry.title}}</h3>
|
|
<p>{{entry.excerpt}}</p>
|
|
</div>
|
|
</a>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
<div class="gh-dashboard5-resource-footer">
|
|
<a href="https://ghost.org/resources/newsletter/" target="_blank" class="gh-dashboard5-subscribe-button" rel="noopener noreferrer">Subscribe <span>to the newsletter</span> →</a>
|
|
</div>
|
|
</article>
|
|
</section>
|