From bf3f751a9044552152a4daf44b5ae920c03f5697 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 1 Jan 2025 00:01:32 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13677 --- 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 8a2014a6a..4af5ecef2 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}; -max-height: none;box-sizing: border-box;position: absolute;padding-top:0 !important;padding-bottom:0 !important;min-height:auto !important;`); +padding-right:0;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);