mirror of
https://github.com/zadam/trilium.git
synced 2025-10-06 05:25:37 +08:00
fix(file): pdf having a 10px margin at the bottom
This commit is contained in:
parent
ec7414b174
commit
cab86175ef
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
import type { EventNames, EventData } from "../../components/app_context.js";
|
import type { EventNames, EventData } from "../../components/app_context.js";
|
||||||
import appContext from "../../components/app_context.js";
|
|
||||||
import NoteContext from "../../components/note_context.js";
|
import NoteContext from "../../components/note_context.js";
|
||||||
import { openDialog } from "../../services/dialog.js";
|
import { openDialog } from "../../services/dialog.js";
|
||||||
import BasicWidget from "../basic_widget.js";
|
import BasicWidget from "../basic_widget.js";
|
||||||
|
@ -19,7 +18,7 @@ const TPL = /*html*/`\
|
||||||
.modal.popup-editor-dialog .modal-body {
|
.modal.popup-editor-dialog .modal-body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 75vh;
|
height: 75vh;
|
||||||
overflow: scroll;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal.popup-editor-dialog .note-detail-editable-text {
|
.modal.popup-editor-dialog .note-detail-editable-text {
|
||||||
|
|
|
@ -22,7 +22,8 @@ const TPL = /*html*/`
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-split.full-content-width .note-detail-file[data-preview-type="video"] {
|
.note-detail.full-height .note-detail-file[data-preview-type="pdf"],
|
||||||
|
.note-detail.full-height .note-detail-file[data-preview-type="video"] {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue