🎨 代码块限制高度后行号
This commit is contained in:
parent
b3f6c40835
commit
3e016551cd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue