Fixed markdown iframe loading and content alignment

Fixes #2280
This commit is contained in:
Dan Brown 2020-09-26 12:01:01 +01:00
parent a6c20c321f
commit 08fbd39fcb
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@
body {
background-color: #fff;
padding-inline-start: 16px;
margin-inline-end: 16px;
padding-inline-end: 16px;
}
[drawio-diagram]:hover {
outline: 2px solid var(--color-primary);

View File

@ -35,7 +35,7 @@
<div class="editor-toolbar">
<div class="editor-toolbar-label">{{ trans('entities.pages_md_preview') }}</div>
</div>
<iframe srcdoc="" class="markdown-display" sandbox="allow-same-origin"></iframe>
<iframe src="about:blank" class="markdown-display" sandbox="allow-same-origin"></iframe>
</div>
<input type="hidden" name="html"/>