Use consistent names for variables, fall back to defaults when wrapping is on

This commit is contained in:
Alex Dima
2023-08-11 17:39:24 +02:00
parent 6e7ea55068
commit 684270ac2e
3 changed files with 19 additions and 15 deletions

View File

@@ -12,7 +12,7 @@
box-sizing: border-box;
animation: fadein 100ms linear;
line-height: 1.5em;
white-space: var(--vscode-hover-whiteSpace);
white-space: var(--vscode-hover-whiteSpace, normal);
}
.monaco-hover.hidden {
@@ -28,7 +28,7 @@
}
.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
max-width: var(--hover-maxWidth, 500px);
max-width: var(--vscode-hover-maxWidth, 500px);
word-wrap: break-word;
}
@@ -106,7 +106,7 @@
}
.monaco-hover .monaco-tokenized-source {
white-space: var(--vscode-hoverSource-whiteSpace);
white-space: var(--vscode-hover-sourceWhiteSpace, pre-wrap);
}
.monaco-hover .hover-row.status-bar {