Add query plan theme support (#2991) (#3031)

Add monaco-editor and monaco-editor-hover to output otherwise backgrounds collide.
This commit is contained in:
Ryan
2018-10-31 13:03:02 -04:00
committed by Karl Burtram
parent 233156c744
commit 18671b7cca
2 changed files with 7 additions and 7 deletions

View File

@@ -93,6 +93,10 @@ export class QueryPlan {
QP.showPlan(this.container, this._xml, {
jsTooltips: false
});
this.container.querySelectorAll('div.qp-tt').forEach(toolTip=>{
toolTip.classList.add('monaco-editor');
toolTip.classList.add('monaco-editor-hover');
});
}
public get xml(): string {