Yuki Takei před 2 roky
rodič
revize
23a78a683a

+ 5 - 1
apps/app/src/components/PageComment/CommentEditor.module.scss

@@ -23,8 +23,12 @@
 
 
 // adjust height
 // adjust height
 .comment-editor-styles :global {
 .comment-editor-styles :global {
+  .cm-editor {
+    min-height: comment-inheritance.$codemirror-default-height !important;
+    max-height: #{2 * comment-inheritance.$codemirror-default-height};
+  }
   .cm-gutters {
   .cm-gutters {
-    min-height: 300px !important;
+    min-height: comment-inheritance.$codemirror-default-height !important;
   }
   }
   .comment-preview-container {
   .comment-preview-container {
     min-height: page-editor-inheritance.$navbar-editor-height
     min-height: page-editor-inheritance.$navbar-editor-height