feat(popup_editor): improve fit for full-height note types

This commit is contained in:
Elian Doran 2025-07-10 17:33:00 +03:00
parent 1fc860b052
commit 278fe3262e
No known key found for this signature in database

View File

@ -1,7 +1,6 @@
import type { EventNames, EventData } from "../../components/app_context.js"; import type { EventNames, EventData } 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 froca from "../../services/froca.js";
import BasicWidget from "../basic_widget.js"; import BasicWidget from "../basic_widget.js";
import Container from "../containers/container.js"; import Container from "../containers/container.js";
@ -13,13 +12,13 @@ const TPL = /*html*/`\
} }
.modal.popup-editor-dialog .modal-body { .modal.popup-editor-dialog .modal-body {
padding: 0 1.5em; padding: 0;
max-height: 75vh; height: 75vh;
overflow: scroll; overflow: scroll;
} }
.modal.popup-editor-dialog .note-detail-editable-text { .modal.popup-editor-dialog .note-detail-editable-text {
padding: 0; padding: 0 1em;
} }
.modal.popup-editor-dialog .title-row, .modal.popup-editor-dialog .title-row,