Skip to content

Commit d458ca8

Browse files
Miguel Soloriomjbvz
authored andcommitted
Set css hierarchy for webview file icon in the light theme (microsoft#60990)
1 parent e07cacd commit d458ca8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/webview/electron-browser/webviewEditorInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class WebviewEditorInput extends EditorInput {
4343
if (URI.isUri(value)) {
4444
cssRules.push(`${webviewSelector} { content: ""; background-image: url(${value.toString()}); }`);
4545
} else {
46-
cssRules.push(`${webviewSelector} { content: ""; background-image: url(${value.light.toString()}); }`);
46+
cssRules.push(`.vs ${webviewSelector} { content: ""; background-image: url(${value.light.toString()}); }`);
4747
cssRules.push(`.vs-dark ${webviewSelector} { content: ""; background-image: url(${value.dark.toString()}); }`);
4848
}
4949
});

0 commit comments

Comments
 (0)