mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
909e038e63
refs #5652 - reverts previous fix (#5698) to return translate3d smoothness - add separate open-autonav toggle element and style it to always stick to the viewport edge to avoid wandering hover hit areas
24 lines
890 B
Handlebars
24 lines
890 B
Handlebars
{{#gh-app showSettingsMenu=showSettingsMenu}}
|
|
<a class="sr-only sr-only-focusable" href="#gh-main">Skip to main content</a>
|
|
|
|
{{gh-alerts notify="topNotificationChange"}}
|
|
|
|
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
|
|
{{#unless signedOut}}
|
|
{{gh-nav-menu open=autoNavOpen toggleMaximise="toggleAutoNav" openAutoNav="openAutoNav" openModal="openModal" closeMobileMenu="closeMobileMenu"}}
|
|
{{/unless}}
|
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
{{outlet}}
|
|
{{/gh-main}}
|
|
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
|
|
|
{{outlet "modal"}}
|
|
{{outlet "settings-menu"}}
|
|
</div>{{!gh-viewport}}
|
|
{{/gh-app}}
|