From 3e016551cd8d28778bdd3598097ee4f66048a94e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 24 Nov 2024 09:38:42 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BB=A3=E7=A0=81=E5=9D=97=E9=99=90?= =?UTF-8?q?=E5=88=B6=E9=AB=98=E5=BA=A6=E5=90=8E=E8=A1=8C=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/render/highlightRender.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/highlightRender.ts b/app/src/protyle/render/highlightRender.ts index cc2341bd6..e8fefff31 100644 --- a/app/src/protyle/render/highlightRender.ts +++ b/app/src/protyle/render/highlightRender.ts @@ -143,7 +143,7 @@ width: ${codeElement.clientWidth}px; white-space:${codeElement.style.whiteSpace}; word-break:${codeElement.style.wordBreak}; font-variant-ligatures:${codeElement.style.fontVariantLigatures}; -box-sizing: border-box;position: absolute;padding-top:0 !important;padding-bottom:0 !important;min-height:auto !important;`); +max-height: none;box-sizing: border-box;position: absolute;padding-top:0 !important;padding-bottom:0 !important;min-height:auto !important;`); lineNumberTemp.setAttribute("contenteditable", "true"); block.insertAdjacentElement("afterend", lineNumberTemp);