Replace calculated height on .ProseMirror
authorAdam Dullage <redacted>
Wed, 29 Nov 2023 08:12:18 +0000 (08:12 +0000)
committerAdam Dullage <redacted>
Wed, 29 Nov 2023 08:12:18 +0000 (08:12 +0000)
flatnotes/src/toastui-editor-overrides.scss

index eeac4d337a2e798fc6386aff00d3b0e2b84c85fe..4290211ce81907bfa64b5f45b8b7b928d032e4d9 100644 (file)
@@ -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 {
   }
 }
 
-.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,
git clone https://git.99rst.org/PROJECT