From efcc4fb2239a980be1a841035cfb87e8806acf77 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 23 Apr 2018 13:53:37 +0200 Subject: [PATCH] Do not set width for viewlet icons --- src/vs/workbench/api/browser/viewsContainersExtensionPoint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/browser/viewsContainersExtensionPoint.ts b/src/vs/workbench/api/browser/viewsContainersExtensionPoint.ts index 860272a4fa5..a340cf290ad 100644 --- a/src/vs/workbench/api/browser/viewsContainersExtensionPoint.ts +++ b/src/vs/workbench/api/browser/viewsContainersExtensionPoint.ts @@ -130,7 +130,7 @@ class ViewsContainersExtensionHandler implements IWorkbenchContribution { // Generate CSS to show the icon in the activity bar const iconClass = `.monaco-workbench > .activitybar .monaco-action-bar .action-label.${cssClass}`; const iconPath = join(extension.extensionFolderPath, descriptor.icon); - createCSSRule(iconClass, `-webkit-mask: url('${iconPath}') no-repeat 50% 50%; -webkit-mask-size: 22px;`); + createCSSRule(iconClass, `-webkit-mask: url('${iconPath}') no-repeat 50% 50%`); // Register as viewlet class CustomViewlet extends PersistentViewsViewlet {