提交 233784d6 编写于 作者: R Ryan Adolf

More consistency

上级 ae5e8d4c
......@@ -44,7 +44,7 @@
.monaco-workbench.windows > .part.titlebar > .window-title {
line-height: 25px;
flex-grow: 1;
margin-left: 0.5em;
margin-left: 0.25em;
-webkit-app-region: drag;
}
......
......@@ -302,7 +302,7 @@ export class TitlebarPart extends Part implements ITitleService {
this.windowService.onDidChangeMaximize((maximized) => {
($(this.titleContainer).getHTMLElement().querySelector('.window-maximize') as SVGElement).style.display = maximized ? 'none' : 'inline';
($(this.titleContainer).getHTMLElement().querySelector('.window-unmaximize') as SVGElement).style.display = maximized ? 'inline' : 'none';
$(this.titleContainer).getHTMLElement().style.paddingLeft = maximized ? '0.1em' : '0.5em';
$(this.titleContainer).getHTMLElement().style.paddingLeft = maximized ? '0.15em' : '0.5em';
$(this.titleContainer).getHTMLElement().style.paddingRight = maximized ? 'calc(2em / 12)' : '0';
}, this);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册