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 "ghost.css" ghost="true" minifyInProduction="true"}}" />
|
||||
|
||||
{{content-for 'head-footer'}}
|
||||
</head>
|
||||
<body>
|
||||
{{content-for 'body'}}
|
||||
|
||||
{{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>
|
||||
|
||||
{{content-for 'body-footer'}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue