fixes custom viewlet icons in activity bar with grid layout

update monaco-workbench > CSS
This commit is contained in:
SteVen Batten
2019-01-30 11:07:20 -08:00
parent 351dc7377f
commit 7ca3f253db
6 changed files with 29 additions and 29 deletions

View File

@@ -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%`);
}