Commit 646ca90b by Marcus Efraimsson Committed by GitHub

Merge pull request #15767 from grafana/15650-autofitpanel-kiosktvmode

No scroll in autofitpanel-mode
parents a6056ba5 cc40a515
......@@ -887,8 +887,8 @@ export class DashboardModel {
}
// add back navbar height
if (kioskMode === KIOSK_MODE_TV) {
visibleHeight += 55;
if (kioskMode && kioskMode !== KIOSK_MODE_TV) {
visibleHeight += navbarHeight;
}
const visibleGridHeight = Math.floor(visibleHeight / (GRID_CELL_HEIGHT + GRID_CELL_VMARGIN));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment