mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
🎨 代码块限制高度后行号
This commit is contained in:
parent
b3f6c40835
commit
3e016551cd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user