Use fixed grid cell height

This commit is contained in:
jeremystretch 2023-02-24 14:13:23 -05:00
parent b8fe27d215
commit f97ad0395f
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -14,7 +14,9 @@ async function saveDashboardLayout(
export function initDashboard(): void { export function initDashboard(): void {
// Initialize the grid // Initialize the grid
let grid = GridStack.init(); let grid = GridStack.init({
cellHeight: 100,
});
// Create a listener for the dashboard save button // Create a listener for the dashboard save button
const gridSaveButton = document.getElementById('save_dashboard') as HTMLButtonElement; const gridSaveButton = document.getElementById('save_dashboard') as HTMLButtonElement;