mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
no issue - return a basic "guid" from the site's `model` hook so that we have some data which changes on each refresh - add an action to the wrapper element of the "view site" link which will cause the route to refresh when clicked if we're already on the route - move the site iframe into a component so that it can watch an @uuid property and force a reset of the iframe's `src` when it detects a change
15 lines
326 B
Handlebars
15 lines
326 B
Handlebars
<iframe id="site-frame" class="site-frame" src="{{this.config.blogUrl}}/" frameborder="0" allowtransparency="true"></iframe>
|
|
|
|
<style>
|
|
.site-frame {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
</style> |