From 8ef8e2d29ba1c741effd469d99d281c6af385803 Mon Sep 17 00:00:00 2001 From: Mark Sujew Date: Wed, 16 Aug 2023 14:09:14 +0200 Subject: [PATCH] Fix plugin menu icon background on hover (#12827) --- packages/plugin-ext/src/main/browser/plugin-shared-style.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugin-ext/src/main/browser/plugin-shared-style.ts b/packages/plugin-ext/src/main/browser/plugin-shared-style.ts index 49c2abbe72191..72a708b261ef7 100644 --- a/packages/plugin-ext/src/main/browser/plugin-shared-style.ts +++ b/packages/plugin-ext/src/main/browser/plugin-shared-style.ts @@ -110,7 +110,8 @@ export class PluginSharedStyle { const lightIconUrl = PluginSharedStyle.toExternalIconUrl(`${typeof iconUrl === 'object' ? iconUrl.light : iconUrl}`); const iconClass = 'plugin-icon-' + this.iconSequence++; const toDispose = new DisposableCollection(); - toDispose.push(this.insertRule('.' + iconClass, theme => ` + toDispose.push(this.insertRule('.' + iconClass + '::before', theme => ` + content: ""; background-position: 2px; width: ${size}px; height: ${size}px;