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

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 be794822a4
commit 179d71f0e1
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 "vendor.css" ghost="true" minifyInProduction="true"}}" />
<link rel="stylesheet" href="{{asset "ghost.css" ghost="true" minifyInProduction="true"}}" /> <link rel="stylesheet" href="{{asset "ghost.css" ghost="true" minifyInProduction="true"}}" />
{{content-for 'head-footer'}} {{content-for 'head-footer'}}
</head> </head>
<body> <body>
{{content-for 'body'}} {{content-for 'body'}}
<script src="{{asset "vendor.js" ghost="true" minifyInProduction="true"}}"></script> {{content-for 'body-footer'}}
<script src="{{asset "ghost.js" ghost="true" minifyInProduction="true"}}"></script>
{{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> </body>
</html> </html>

View file

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

View file

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