diff --git a/frontend/src/css/mdPreview.css b/frontend/src/css/mdPreview.css index bf2863f6..7d6cab86 100644 --- a/frontend/src/css/mdPreview.css +++ b/frontend/src/css/mdPreview.css @@ -1,6 +1,4 @@ .md_preview { - overflow-y: auto; - max-height: 80vh; padding: 1rem; border: 1px solid #000; font-size: 20px; @@ -9,5 +7,5 @@ #preview-container { overflow: auto; - max-height: 80vh; /* Match the max-height of md_preview for scrolling */ + flex: 1; } diff --git a/frontend/src/views/files/Editor.vue b/frontend/src/views/files/Editor.vue index 3408fb97..8db6252b 100644 --- a/frontend/src/views/files/Editor.vue +++ b/frontend/src/views/files/Editor.vue @@ -1,5 +1,5 @@