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:
parent
be794822a4
commit
179d71f0e1
3 changed files with 9 additions and 7 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue