提交 608309dc 编写于 作者: J Joao Moreno

fixes #13636

上级 320cda32
......@@ -36,8 +36,8 @@
margin: 8px 0;
}
.monaco-editor .parameter-hints-widget .body,
.monaco-editor .parameter-hints-widget .body > .monaco-scrollable-element {
.monaco-editor .parameter-hints-widget .monaco-scrollable-element,
.monaco-editor .parameter-hints-widget .body {
display: flex;
flex-direction: column;
}
......
......@@ -217,14 +217,14 @@ export class ParameterHintsWidget implements IContentWidget, IDisposable {
this.overloads = dom.append(wrapper, $('.overloads'));
const body = dom.append(wrapper, $('.body'));
const body = $('.body');
this.scrollbar = new DomScrollableElement(body, { canUseTranslate3d: false });
this.disposables.push(this.scrollbar);
wrapper.appendChild(this.scrollbar.getDomNode());
this.signature = dom.append(body, $('.signature'));
this.docs = $('.docs');
this.scrollbar = new DomScrollableElement(this.docs, { canUseTranslate3d: false });
this.disposables.push(this.scrollbar);
body.appendChild(this.scrollbar.getDomNode());
this.docs = dom.append(body, $('.docs'));
this.currentSignature = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册