mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
Remove extra ember container
This commit is contained in:
parent
b26c4d91d8
commit
7417b29fd4
@ -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>
|
||||
|
@ -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…
Reference in New Issue
Block a user