diff --git a/ghost/admin/app/components/posts/analytics.hbs b/ghost/admin/app/components/posts/analytics.hbs index 9072921238..ec17358da8 100644 --- a/ghost/admin/app/components/posts/analytics.hbs +++ b/ghost/admin/app/components/posts/analytics.hbs @@ -41,7 +41,7 @@ - + {{#if this.post.hasBeenEmailed}}

Sent

diff --git a/ghost/admin/app/components/tabs/tab-panel.hbs b/ghost/admin/app/components/tabs/tab-panel.hbs index d48c7b24d8..bc953f8933 100644 --- a/ghost/admin/app/components/tabs/tab-panel.hbs +++ b/ghost/admin/app/components/tabs/tab-panel.hbs @@ -5,7 +5,7 @@ aria-labelledby="{{this.tabId}}" class="tab-panel {{if this.isSelectedTab "tab-panel-selected" }}" > - {{#if this.isSelectedTab}} + {{#if (or this.isSelectedTab @forceRender)}} {{yield}} {{/if}} diff --git a/ghost/admin/app/components/tabs/tabs.hbs b/ghost/admin/app/components/tabs/tabs.hbs index 8acac61084..e9826f4c6e 100644 --- a/ghost/admin/app/components/tabs/tabs.hbs +++ b/ghost/admin/app/components/tabs/tabs.hbs @@ -24,6 +24,7 @@ selectedIndex=this.selectedIndex index=this.addPanelIndex tabIds=this.tabIds + forceRender=@forceRender ) ) }} diff --git a/ghost/admin/app/styles/layouts/content.css b/ghost/admin/app/styles/layouts/content.css index 0f99099f80..97d31ae496 100644 --- a/ghost/admin/app/styles/layouts/content.css +++ b/ghost/admin/app/styles/layouts/content.css @@ -1621,7 +1621,12 @@ a.gh-post-list-cta.stats.is-hovered:hover > * { box-shadow: inset 0 -1px 0 #eceef0; } +.gh-tabs-analytics .tab-panel { + display: none; +} + .gh-tabs-analytics .tab-panel-selected { + display: block; padding: 12px 26px 0; /* help to hide shadow from selected tab */ opacity: 0.99999;