提交 a5f3b8ac 编写于 作者: I isidor

debug: respect message box size when layouting call stack view

fixes #1362
上级 f81295e9
......@@ -272,6 +272,11 @@ class CallStackView extends viewlet.CollapsibleViewletView {
}));
}
public layoutBody(size: number): void {
const sizeWithRespectToMessageBox = this.messageBox && !this.messageBox.hidden ? size - 27 : size;
super.layoutBody(sizeWithRespectToMessageBox);
}
private renderMessageBox(container: HTMLElement): void {
this.messageBox = document.createElement('div');
dom.addClass(this.messageBox, 'debug-message-box');
......
......@@ -68,6 +68,7 @@
background: #F6F5D2;
padding: 0.4em 1em .3em 1.9em;
font-size: 8pt;
line-height: 18px;
-webkit-user-select: text;
-moz-user-select: text;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册