提交 1fe81b03 编写于 作者: J Johannes Rieken

fix width regression

上级 b468c427
......@@ -80,8 +80,10 @@ class Contributor extends ActionBarContributor {
}
public getActionItem(context: any, action: Action): BaseActionItem {
const uri = this._getResource(context);
return new CommandItem(uri, action);
if (this.hasActions(context)) {
const uri = this._getResource(context);
return new CommandItem(uri, action);
}
}
}
......
......@@ -52,11 +52,7 @@
display: block;
height: 35px;
line-height: 35px;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label.icon,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions .action-label.icon {
width: 28px;
min-width: 28px;
background-size: 16px;
background-position: center center;
background-repeat: no-repeat;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册