From bc7c352900f5e93f54614960f9bf8fbadb3f303c Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 3 Apr 2024 00:43:11 +0200 Subject: [PATCH 1/2] Show 12 lines in markup code preview --- web_src/css/markup/codepreview.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/markup/codepreview.css b/web_src/css/markup/codepreview.css index 92195449939e3..ed42972de6baa 100644 --- a/web_src/css/markup/codepreview.css +++ b/web_src/css/markup/codepreview.css @@ -12,7 +12,7 @@ .markup .code-preview-container table { width: 100%; - max-height: 100px; + max-height: 240px; overflow-y: auto; margin: 0; /* override ".markup table {margin}" */ } From 4dae4a876b4dc16b5d23a3a0660533e27bd75899 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 3 Apr 2024 00:45:22 +0200 Subject: [PATCH 2/2] comment --- web_src/css/markup/codepreview.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/markup/codepreview.css b/web_src/css/markup/codepreview.css index ed42972de6baa..c9d19f5cc8523 100644 --- a/web_src/css/markup/codepreview.css +++ b/web_src/css/markup/codepreview.css @@ -12,7 +12,7 @@ .markup .code-preview-container table { width: 100%; - max-height: 240px; + max-height: 240px; /* 12 lines at 20px per line */ overflow-y: auto; margin: 0; /* override ".markup table {margin}" */ }