0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed double scrollbar issue on Pages

closes https://github.com/TryGhost/Team/issues/3219

- the pages template had a leftover .gh-list-sticky and it was causing an additional scrollbar inside the list
- removing the unncessary element fixes the issue
This commit is contained in:
Sodbileg Gansukh 2023-05-16 12:27:37 +08:00
parent 4ffdd27f0a
commit 0e97cc3a11

View file

@ -27,29 +27,27 @@
</GhCanvasHeader>
<section class="view-container content-list">
<div class="gh-list-sticky">
<PostsList::List
@model={{this.postsInfinityModel}}
@list={{this.selectionList}}
>
<li class="no-posts-box">
<div class="no-posts">
{{#if this.showingAll}}
{{svg-jar "pages-placeholder" class="gh-pages-placeholder"}}
<h4>Tell the world about yourself.</h4>
<LinkTo @route="editor.new" @model="page" class="gh-btn gh-btn-green">
<span>Create a new page</span>
</LinkTo>
{{else}}
<h4>No pages match the current filter</h4>
<LinkTo @route="pages" @query={{hash type=null author=null tag=null}} class="gh-btn">
<span>Show all pages</span>
</LinkTo>
{{/if}}
</div>
</li>
</PostsList::List>
</div>
<PostsList::List
@model={{this.postsInfinityModel}}
@list={{this.selectionList}}
>
<li class="no-posts-box">
<div class="no-posts">
{{#if this.showingAll}}
{{svg-jar "pages-placeholder" class="gh-pages-placeholder"}}
<h4>Tell the world about yourself.</h4>
<LinkTo @route="editor.new" @model="page" class="gh-btn gh-btn-green">
<span>Create a new page</span>
</LinkTo>
{{else}}
<h4>No pages match the current filter</h4>
<LinkTo @route="pages" @query={{hash type=null author=null tag=null}} class="gh-btn">
<span>Show all pages</span>
</LinkTo>
{{/if}}
</div>
</li>
</PostsList::List>
<GhInfinityLoader
@infinityModel={{this.postsInfinityModel}}