adding css changes to sticky scroll
parent
54e89580c7
commit
e75e7f1d2b
|
@ -25,7 +25,8 @@
|
|||
background-color: inherit;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-line-number, .monaco-editor .sticky-line-content {
|
||||
.monaco-editor .sticky-line-number,
|
||||
.monaco-editor .sticky-line-content {
|
||||
color: var(--vscode-editorLineNumber-foreground);
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
|
@ -35,10 +36,10 @@
|
|||
|
||||
.monaco-editor .sticky-line-number .codicon-folding-expanded,
|
||||
.monaco-editor .sticky-line-number .codicon-folding-collapsed {
|
||||
float: right;
|
||||
transition: var(--vscode-editorStickyScroll-foldingOpacityTransition);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-line-content {
|
||||
|
@ -47,9 +48,14 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-line-content > span {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-line-number-inner {
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-widget {
|
||||
|
|
|
@ -365,7 +365,6 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
|
|||
innerLineNumberHTML.style.lineHeight = `${height}px`;
|
||||
innerLineNumberHTML.style.width = `${layoutInfo.lineNumbersWidth}px`;
|
||||
innerLineNumberHTML.style.paddingLeft = `${layoutInfo.lineNumbersLeft}px`;
|
||||
innerLineNumberHTML.style.verticalAlign = 'bottom';
|
||||
|
||||
lineNumberHTMLNode.appendChild(innerLineNumberHTML);
|
||||
const foldingIcon = this._renderFoldingIconForLine(foldingModel, line);
|
||||
|
|
Loading…
Reference in New Issue