Notebook Views grid fixes (#17170)

This commit is contained in:
Daniel Grajeda
2021-09-28 15:52:00 -06:00
committed by GitHub
parent 508630411d
commit 08acd6aadc
4 changed files with 16 additions and 20 deletions

View File

@@ -69,13 +69,13 @@ class CellDisplayGroup extends DisplayGroup<ICellModel> {
//For graphs
if (this.hasGraph(cell)) {
visInfo.width = 6;
visInfo.height = 4;
visInfo.height = 12;
}
//For tables
else if (this.hasTable(cell)) {
visInfo.height = Math.min(meta?.height, 3);
visInfo.height = Math.min(meta?.height, 6);
} else {
visInfo.height = Math.min(meta?.height, 3);
visInfo.height = Math.min(meta?.height, 6);
}
visInfo.display = true;