From 5c9cbeafed631bb05ae12deeb288cedb23e7988d Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 3 Apr 2024 11:51:34 +0800 Subject: [PATCH] Show 12 lines in markup code preview (#30255) (#30257) Backport #30255 by @silverwind Show up to 12 lines instead of previous 5. image Co-authored-by: silverwind --- 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..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: 100px; + max-height: 240px; /* 12 lines at 20px per line */ overflow-y: auto; margin: 0; /* override ".markup table {margin}" */ }