提交 1a653e1a 编写于 作者: R Ramya Achutha Rao

Use full width only when docs are expanded

上级 95f39245
......@@ -6,6 +6,9 @@
/* Suggest */
.monaco-editor .suggest-widget {
z-index: 40;
}
.monaco-editor .suggest-widget.docs-expanded {
width: 660px;
}
......@@ -26,7 +29,7 @@
border-width: 1px;
}
.monaco-editor .suggest-widget.small,
.monaco-editor .suggest-widget,
.monaco-editor .suggest-widget > .tree,
.monaco-editor .suggest-widget.small.docs-expanded > .tree,
.monaco-editor .suggest-widget.small > .details {
......
......@@ -810,6 +810,7 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
if (!this.expandDocs) {
hide(this.details.element);
removeClass(this.element, 'docs-expanded');
this.editor.layoutContentWidget(this);
} else {
this.showDetails();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册