From: Adam Dullage Date: Wed, 29 Nov 2023 08:12:18 +0000 (+0000) Subject: Replace calculated height on .ProseMirror X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a6a97790c387dc002955c2fa93e7bf21177e63a3;p=flatnotes.git Replace calculated height on .ProseMirror --- diff --git a/flatnotes/src/toastui-editor-overrides.scss b/flatnotes/src/toastui-editor-overrides.scss index eeac4d3..4290211 100644 --- a/flatnotes/src/toastui-editor-overrides.scss +++ b/flatnotes/src/toastui-editor-overrides.scss @@ -8,6 +8,16 @@ } } +.ProseMirror, +.toastui-editor-defaultUI .ProseMirror, +.toastui-editor-md-container .toastui-editor-md-preview { + padding: 1rem 0 0 0; +} + +.ProseMirror { + height: 100%; +} + // Typography .ProseMirror, .toastui-editor-contents { @@ -73,12 +83,6 @@ } } -.ProseMirror, -.toastui-editor-defaultUI .ProseMirror, -.toastui-editor-md-container .toastui-editor-md-preview { - padding: 1rem 0 0 0; -} - // Override the default font-family for code blocks as some of the fallbacks are not monospace .toastui-editor-contents code, .toastui-editor-contents pre,