Remove extra ember container

This commit is contained in:
John O'Nolan 2015-05-19 09:15:16 +01:00 committed by Hannah Wolfe
parent b26c4d91d8
commit 7417b29fd4
3 changed files with 9 additions and 7 deletions

View File

@ -41,14 +41,16 @@
<link rel="stylesheet" href="{{asset "vendor.css" ghost="true" minifyInProduction="true"}}" />
<link rel="stylesheet" href="{{asset "ghost.css" ghost="true" minifyInProduction="true"}}" />
{{content-for 'head-footer'}}
</head>
<body>
{{content-for 'body'}}
{{content-for 'body'}}
<script src="{{asset "vendor.js" ghost="true" minifyInProduction="true"}}"></script>
<script src="{{asset "ghost.js" ghost="true" minifyInProduction="true"}}"></script>
{{content-for 'body-footer'}}
{{content-for 'body-footer'}}
{{! Dem scripts }}
<script src="{{asset "vendor.js" ghost="true" minifyInProduction="true"}}"></script>
<script src="{{asset "ghost.js" ghost="true" minifyInProduction="true"}}"></script>
</body>
</html>

View File

@ -2,7 +2,7 @@
/* ---------------------------------------------------------- */
/* Main viewport, contains main content, and alerts */
.gh-viewport {
.gh-app {
display: flex;
flex-direction: column;
overflow: hidden;
@ -10,7 +10,7 @@
}
/* Content viewport, contains everything else */
.gh-viewport-container {
.gh-viewport {
flex-grow: 1;
display: flex;
}

View File

@ -2,7 +2,7 @@ import Ember from 'ember';
import mobileQuery from 'ghost/utils/mobile';
var ApplicationView = Ember.View.extend({
elementId: 'container',
classNames: 'gh-app',
didInsertElement: function () {
// #### Navigating within the sidebar closes it.