mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Merge pull request #4100 from novaugust/iss4097
Fix uncentered no posts view
This commit is contained in:
commit
6437092781
2 changed files with 7 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
||||||
{{#if noPosts}}
|
{{#if noPosts}}
|
||||||
<div class="no-posts-box">
|
<div class="no-posts">
|
||||||
<div class="no-posts">
|
|
||||||
<h3>You Haven't Written Any Posts Yet!</h3>
|
<h3>You Haven't Written Any Posts Yet!</h3>
|
||||||
{{#link-to "editor.new"}}<button type="button" class="btn btn-green btn-lg" title="New Post">Write a new Post</button>{{/link-to}}
|
{{#link-to "editor.new"}}<button type="button" class="btn btn-green btn-lg" title="New Post">Write a new Post</button>{{/link-to}}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
|
@ -1,5 +1,7 @@
|
||||||
import MobileIndexView from 'ghost/views/mobile/index-view';
|
import MobileIndexView from 'ghost/views/mobile/index-view';
|
||||||
|
|
||||||
var PostsIndexView = MobileIndexView.extend();
|
var PostsIndexView = MobileIndexView.extend({
|
||||||
|
classNames: ['no-posts-box']
|
||||||
|
});
|
||||||
|
|
||||||
export default PostsIndexView;
|
export default PostsIndexView;
|
||||||
|
|
Loading…
Add table
Reference in a new issue