fix z-order on the edit page.

This commit is contained in:
jonaswinkler 2020-12-08 00:45:23 +01:00
parent 5321ff1f20
commit 30f200ad39
2 changed files with 3 additions and 2 deletions

View File

@ -112,7 +112,7 @@
</form>
</div>
<div class="col-xl d-none d-xl-block document-preview sticky-top">
<div class="col-xl d-none d-xl-block document-preview">
<object [data]="previewUrl | safe" type="application/pdf" width="100%" height="100%">
<p>Your browser does not support PDFs.
<a href="previewUrl">Download the PDF</a>.</p>

View File

@ -1,4 +1,5 @@
.document-preview {
height: calc(100vh - 180px);
top: 70px
top: 70px;
position: sticky;
}