mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Cleanup
This commit is contained in:
parent
66d09de8de
commit
3d996e037d
@ -40,6 +40,7 @@ TagsRoute = AuthenticatedRoute.extend(CurrentUserSettings, PaginationRouteMixin,
|
||||
|
||||
renderTemplate: function (controller, model) {
|
||||
this._super(controller, model);
|
||||
this.render('settings/tags', {into: 'application'});
|
||||
this.render('settings/tags/settings-menu', {
|
||||
into: 'application',
|
||||
outlet: 'settings-menu',
|
||||
|
@ -16,6 +16,7 @@
|
||||
}
|
||||
|
||||
.gh-main {
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
}
|
||||
@ -168,7 +169,6 @@
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------
|
||||
#ember720 { flex-grow: 1; display: flex; } // TODO: REMOVE
|
||||
|
||||
.gh-view {
|
||||
flex-grow: 1;
|
||||
|
@ -27,19 +27,6 @@ var ApplicationView = Ember.View.extend({
|
||||
});
|
||||
});
|
||||
|
||||
// #### Listen to the viewport and change user-menu dropdown triangle classes accordingly
|
||||
this.set('swapUserMenuDropdownTriangleClasses', Ember.run.bind(this, swapUserMenuDropdownTriangleClasses));
|
||||
|
||||
mobileQuery.addListener(this.get('swapUserMenuDropdownTriangleClasses'));
|
||||
swapUserMenuDropdownTriangleClasses(mobileQuery);
|
||||
|
||||
this.set('closeGlobalMobileNavOnDesktop', Ember.run.bind(this, function closeGlobalMobileNavOnDesktop(mq) {
|
||||
if (!mq.matches) {
|
||||
// Is desktop sized
|
||||
this.set('controller.showGlobalMobileNav', false);
|
||||
}
|
||||
}));
|
||||
|
||||
mobileQuery.addListener(this.get('closeGlobalMobileNavOnDesktop'));
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user