mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
fixes custom viewlet icons in activity bar with grid layout
update monaco-workbench > CSS
This commit is contained in:
@@ -326,7 +326,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
|
||||
);
|
||||
|
||||
// Generate CSS to show the icon in the activity bar
|
||||
const iconClass = `.monaco-workbench > .activitybar .monaco-action-bar .action-label.${cssClass}`;
|
||||
const iconClass = `.monaco-workbench .activitybar .monaco-action-bar .action-label.${cssClass}`;
|
||||
createCSSRule(iconClass, `-webkit-mask: url('${icon}') no-repeat 50% 50%`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user