mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Resized Portal preview iframe
no refs. - made Portal preview iframe a bit smaller to make sure users get the UI context
This commit is contained in:
parent
058193f9e4
commit
dba7522470
@ -1,4 +1,4 @@
|
||||
<iframe id="site-frame" class="site-frame" src="{{this.srcUrl}}" frameborder="0" allowtransparency="true"></iframe>
|
||||
<iframe id="site-frame" class="site-frame {{this.classNames}}" src="{{this.srcUrl}}" frameborder="0" allowtransparency="true"></iframe>
|
||||
|
||||
<style>
|
||||
.site-frame {
|
||||
|
@ -268,6 +268,7 @@
|
||||
<GhSiteIframe
|
||||
@guid="test-site-portal"
|
||||
@src={{this.portalPreviewUrl}}
|
||||
@classNames="gh-portal-siteiframe"
|
||||
></GhSiteIframe>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
@ -243,4 +243,12 @@
|
||||
border-radius: 2px;
|
||||
background: var(--white);
|
||||
border: 1px solid var(--whitegrey);
|
||||
}
|
||||
|
||||
.gh-portal-siteiframe {
|
||||
border-radius: 5px;
|
||||
transform: scale(0.9) !important;
|
||||
transform-origin: 0 0;
|
||||
width: calc((1 / 0.9) * 100%) !important;
|
||||
height: calc((1 / 0.9) * 100%) !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user