Fixed up the empty list states if something fails for What's New or Staff Picks

refs: https://github.com/TryGhost/Team/issues/1531
This commit is contained in:
James Morris 2022-05-11 16:50:20 +01:00
parent a926b8fb39
commit dc8a431e45
3 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,6 @@
</div>
{{else}}
<div class="gh-dashboard5-list-empty">
{{svg-jar "no-data-list"}}
<p>No staff picks yet.</p>
</div>
{{/each}}

View File

@ -19,7 +19,6 @@
</div>
{{else}}
<div class="gh-dashboard5-list-empty">
{{svg-jar "no-data-list"}}
<p>No new features yet.</p>
</div>
{{/each}}

View File

@ -770,6 +770,10 @@ Dashboard v5 List */
white-space: nowrap;
}
.gh-dashboard5-list-empty {
flex: 1;
}
/* ---------------------------------
Dashboard v5 Overview */