mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
debug: polish hover title
This commit is contained in:
parent
f6ca93dd42
commit
ee582f4aac
|
@ -205,6 +205,7 @@ export class DebugHoverWidget implements editorbrowser.IContentWidget {
|
||||||
|
|
||||||
return this.tree.setInput(expression).then(() => {
|
return this.tree.setInput(expression).then(() => {
|
||||||
this.complexValueTitle.textContent = expression.value;
|
this.complexValueTitle.textContent = expression.value;
|
||||||
|
this.complexValueTitle.title = expression.value;
|
||||||
this.layoutTree();
|
this.layoutTree();
|
||||||
this.editor.layoutContentWidget(this);
|
this.editor.layoutContentWidget(this);
|
||||||
if (focus) {
|
if (focus) {
|
||||||
|
|
|
@ -15,15 +15,22 @@
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.monaco-editor .debug-hover-widget .complex-value {
|
||||||
|
width: 324px;
|
||||||
|
}
|
||||||
|
|
||||||
.monaco-editor .debug-hover-widget .complex-value .title {
|
.monaco-editor .debug-hover-widget .complex-value .title {
|
||||||
padding-left: 10px;
|
padding-left: 15px;
|
||||||
margin: 0 5px;
|
padding-right: 2px;
|
||||||
|
font-size: 11px;
|
||||||
|
word-break: normal;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
border-bottom: 1px solid rgba(128, 128, 128, 0.35);
|
border-bottom: 1px solid rgba(128, 128, 128, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-editor .debug-hover-widget .debug-hover-tree {
|
.monaco-editor .debug-hover-widget .debug-hover-tree {
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
width: 324px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-editor .debug-hover-widget .debug-hover-tree .monaco-tree .monaco-tree-row > .content {
|
.monaco-editor .debug-hover-widget .debug-hover-tree .monaco-tree .monaco-tree-row > .content {
|
||||||
|
|
Loading…
Reference in a new issue