Fixed width flicking on full width for pages and posts

fixes https://github.com/TryGhost/Team/issues/1838

- The loading template was setting a different class
- That class is not used any longer
- Removed that part of the code
This commit is contained in:
Simon Backx 2022-08-25 17:25:59 +02:00
parent 50f027cccf
commit d04276ab4d
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<section class="gh-canvas" {{did-insert (action "setMainClass" "gh-main-primarybg" target=this.ui)}}>
<section class="gh-canvas">
<GhCanvasHeader class="gh-canvas-header break tablet post-header">
<GhCustomViewTitle @title="Pages" @query={{reset-query-params "posts"}} />

View File

@ -1,4 +1,4 @@
<section class="gh-canvas" {{did-insert (action "setMainClass" "gh-main-primarybg" target=this.ui)}}>
<section class="gh-canvas">
<GhCanvasHeader class="gh-canvas-header break tablet post-header">
<GhCustomViewTitle @title={{if this.session.user.isContributor (concat this.config.blogTitle " posts") "Posts"}} @query={{reset-query-params "posts"}} />
<section class="view-actions">