fix(file): pdf having a 10px margin at the bottom

This commit is contained in:
Elian Doran 2025-07-11 11:28:10 +03:00
parent ec7414b174
commit cab86175ef
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,4 @@
import type { EventNames, EventData } from "../../components/app_context.js";
import appContext from "../../components/app_context.js";
import NoteContext from "../../components/note_context.js";
import { openDialog } from "../../services/dialog.js";
import BasicWidget from "../basic_widget.js";
@ -19,7 +18,7 @@ const TPL = /*html*/`\
.modal.popup-editor-dialog .modal-body {
padding: 0;
height: 75vh;
overflow: scroll;
overflow: auto;
}
.modal.popup-editor-dialog .note-detail-editable-text {

View file

@ -22,7 +22,8 @@ const TPL = /*html*/`
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;
}