Skip to content

Commit

Permalink
Preserve custom webview file icon in HC (fixes #104434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Solorio committed Aug 12, 2020
1 parent edd867f commit 7b1bfa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class WebviewIconManager {
try {
cssRules.push(
`.monaco-workbench.vs ${webviewSelector} { content: ""; background-image: ${dom.asCSSUrl(value.light)}; }`,
`.monaco-workbench.vs-dark ${webviewSelector} { content: ""; background-image: ${dom.asCSSUrl(value.dark)}; }`
`.monaco-workbench.vs-dark ${webviewSelector}, .monaco-workbench.hc-black ${webviewSelector} { content: ""; background-image: ${dom.asCSSUrl(value.dark)}; }`
);
} catch {
// noop
Expand Down

0 comments on commit 7b1bfa1

Please sign in to comment.