From 1c3d8a0d1283863dbf08001eab3c0f4e18212de1 Mon Sep 17 00:00:00 2001 From: wuwenbin Date: Thu, 28 Aug 2025 20:30:46 +0800 Subject: [PATCH] fix: optimize markdown preview height --- frontend/src/css/mdPreview.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/css/mdPreview.css b/frontend/src/css/mdPreview.css index bf2863f6..7a273be4 100644 --- a/frontend/src/css/mdPreview.css +++ b/frontend/src/css/mdPreview.css @@ -9,5 +9,6 @@ #preview-container { overflow: auto; - max-height: 80vh; /* Match the max-height of md_preview for scrolling */ + max-height: 100vh; + flex: 1; }