debug hover align with regular hover

fixes #13752
This commit is contained in:
isidor 2016-10-26 16:43:36 +02:00
parent aed0b7acd8
commit 5ea2e04fd5
2 changed files with 10 additions and 1 deletions

View file

@ -13,6 +13,9 @@
animation-name: fadeIn;
-webkit-user-select: text;
word-break: break-all;
background-color: #F3F3F3;
border: 1px solid #CCC;
padding: 4px 5px;
}
.monaco-editor .debug-hover-widget .complex-value {
@ -84,6 +87,12 @@
/* Dark theme */
.monaco-editor.vs-dark .debug-hover-widget {
background-color: #2D2D30;
border-color: #555;
}
.monaco-editor.vs-dark .debug-hover-widget .value {
color: rgba(204, 204, 204, 0.6);
}

View file

@ -49,7 +49,7 @@ export class DebugHoverWidget implements editorbrowser.IContentWidget {
private toDispose: lifecycle.IDisposable[];
constructor(private editor: editorbrowser.ICodeEditor, private debugService: debug.IDebugService, private instantiationService: IInstantiationService) {
this.domNode = $('.debug-hover-widget monaco-editor-background');
this.domNode = $('.debug-hover-widget');
this.complexValueContainer = dom.append(this.domNode, $('.complex-value'));
this.complexValueTitle = dom.append(this.complexValueContainer, $('.title'));
this.treeContainer = dom.append(this.complexValueContainer, $('.debug-hover-tree'));