0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Removed hardcoded style from design settings index

no issue

- by using flex display on the outer container we can get rid of the hardcoded height calc style and let the browser handle the layout more naturally
This commit is contained in:
Kevin Ansfield 2021-10-12 15:23:55 +01:00
parent 8ec5b83097
commit 3477be5974

View file

@ -1,4 +1,4 @@
<section class="gh-canvas relative w-100">
<section class="gh-canvas flex flex-column h-100">
<GhCanvasHeader class="gh-canvas-header">
<h2 class="gh-canvas-title">{{this.config.blogTitle}}</h2>
<section class="view-actions">
@ -18,7 +18,7 @@
</section>
</GhCanvasHeader>
<div style="height: calc(100% - 96px)">
<div class="view-container">
<GhBrowserPreview @icon={{this.settings.icon}} @title={{this.config.blogTitle}}>
<GhHtmlIframe id="site-frame" class="site-frame gh-branding-settings-preview" @html={{this.themeManagement.previewHtml}} />
</GhBrowserPreview>