Add horizontal scrollbar to Kqlmagic table and remove plotly graph max width (#21934)

* add scroll and remove plotly max width

* scope down
This commit is contained in:
Lucy Zhang
2023-02-15 10:40:45 -08:00
committed by GitHub
parent d9b24522e5
commit 498f278887
2 changed files with 4 additions and 1 deletions

View File

@@ -20,3 +20,7 @@ output-area-component .notebook-output {
white-space: pre-wrap;
word-wrap: break-word;
}
output-area-component .notebook-output .output-userselect {
overflow: scroll;
}

View File

@@ -78,7 +78,6 @@ export class PlotlyOutputComponent extends AngularDisposable implements IMimeCom
PlotlyOutputComponent.Plotly = import('plotly.js-dist-min');
}
this._plotDiv = this.output.nativeElement;
this._plotDiv.style.maxWidth = '700px';
this._plotDiv.style.width = '100%';
this.renderPlotly();
this._initialized = true;