提交 b874a7a5 编写于 作者: C Christof Marti

Make title show at inital window size (fixes #19466)

上级 e6a82d5f
......@@ -187,7 +187,7 @@ export class WalkThroughPart extends BaseEditor {
const innerContent = this.content.firstElementChild;
if (this.size && innerContent) {
const classList = innerContent.classList;
classList[this.size.height <= 690 ? 'add' : 'remove']('max-height-690px');
classList[this.size.height <= 685 ? 'add' : 'remove']('max-height-685px');
}
}
......
......@@ -85,6 +85,7 @@
}
.monaco-workbench > .part.editor > .content .welcomePage .title {
margin-top: 1em;
margin-bottom: 1em;
flex: 1 100%;
}
......@@ -127,7 +128,7 @@
padding: 0;
}
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent.empty {
.monaco-workbench > .part.editor > .content .welcomePage.emptyRecent .splash .recent {
display: none;
}
......@@ -245,7 +246,7 @@
outline-offset: -5px;
}
.monaco-workbench > .part.editor > .content .welcomePageContainer.max-height-690px .title {
.monaco-workbench > .part.editor > .content .welcomePageContainer.max-height-685px .title {
display: none;
}
......
......@@ -116,8 +116,8 @@ class WelcomePage {
folders = folders.filter(folder => folder !== current);
}
if (!folders.length) {
const recent = container.querySelector('.recent') as HTMLElement;
recent.classList.add('empty');
const recent = container.querySelector('.welcomePage') as HTMLElement;
recent.classList.add('emptyRecent');
return;
}
const ul = container.querySelector('.recent ul');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册