fix seeing only part of the PDF preview

This commit is contained in:
zadam 2021-04-07 22:45:46 +02:00
parent 6b41c26d2b
commit 5314446980
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ import TypeWidget from "./type_widget.js";
const TPL = `
<div class="note-detail-file note-detail-printable">
<style>
.type-file {
.type-file .note-detail {
height: 100%;
}
@ -13,7 +13,7 @@ const TPL = `
padding: 10px;
height: 100%;
}
.file-preview-content {
background-color: var(--accented-background-color);
padding: 15px;

View file

@ -1,4 +1,4 @@
.type-relation-map {
.type-relation-map .note-detail {
height: 100%;
}