Skip to content

Commit

Permalink
Fix plugin menu icon background on hover (#12827)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Aug 16, 2023
1 parent 04c8cf0 commit 8ef8e2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-ext/src/main/browser/plugin-shared-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8ef8e2d

Please sign in to comment.