adding css to sticky scroll
parent
b4b62de2b6
commit
4888a4dce0
|
@ -50,6 +50,9 @@
|
|||
.monaco-editor .sticky-line-number-inner {
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
line-height: normal;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-widget {
|
||||
|
|
|
@ -365,7 +365,6 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
|
|||
innerLineNumberHTML.innerText = Math.abs(line - this._editor.getPosition()!.lineNumber).toString();
|
||||
}
|
||||
innerLineNumberHTML.className = 'sticky-line-number-inner';
|
||||
innerLineNumberHTML.style.lineHeight = `${height}px`;
|
||||
innerLineNumberHTML.style.width = `${layoutInfo.lineNumbersWidth}px`;
|
||||
innerLineNumberHTML.style.paddingLeft = `${layoutInfo.lineNumbersLeft}px`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue