提交 ee582f4a 编写于 作者: I isidor

debug: polish hover title

上级 f6ca93dd
......@@ -205,6 +205,7 @@ export class DebugHoverWidget implements editorbrowser.IContentWidget {
return this.tree.setInput(expression).then(() => {
this.complexValueTitle.textContent = expression.value;
this.complexValueTitle.title = expression.value;
this.layoutTree();
this.editor.layoutContentWidget(this);
if (focus) {
......
......@@ -15,15 +15,22 @@
word-break: break-all;
}
.monaco-editor .debug-hover-widget .complex-value {
width: 324px;
}
.monaco-editor .debug-hover-widget .complex-value .title {
padding-left: 10px;
margin: 0 5px;
padding-left: 15px;
padding-right: 2px;
font-size: 11px;
word-break: normal;
text-overflow: ellipsis;
overflow: hidden;
border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}
.monaco-editor .debug-hover-widget .debug-hover-tree {
line-height: 18px;
width: 324px;
}
.monaco-editor .debug-hover-widget .debug-hover-tree .monaco-tree .monaco-tree-row > .content {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册