debug: polish hover title

This commit is contained in:
isidor 2016-06-15 12:32:15 +02:00
parent f6ca93dd42
commit ee582f4aac
2 changed files with 11 additions and 3 deletions

View file

@ -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) {

View file

@ -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 {