Files
vscode/extensions/markdown-language-features/markdown-editor-src/markdownEditor.css
T
Henning DieterichsandCopilot c22703436f Fix markdown inline comment hover background
Back translucent comment widget colors with the editor background so rendered Markdown does not bleed through.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 52bb4aca-2243-4fa0-9dbd-5f579a602a65
2026-09-01 11:04:49 +02:00

36 lines
907 B
CSS

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
background: var(--vscode-editor-background);
}
body {
overflow: hidden;
}
#editor {
height: 100%;
width: 100%;
overflow: scroll;
}
.md-comment-widget {
background:
linear-gradient(var(--vscode-menu-background), var(--vscode-menu-background)),
var(--vscode-editor-background);
}
.md-comment-widget:hover,
.md-comment-widget--hover {
background:
linear-gradient(var(--vscode-list-hoverBackground), var(--vscode-list-hoverBackground)),
var(--vscode-editor-background);
}