From b6ca84c7a511e30811c0eda1f1fd0733de405da9 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 29 Aug 2022 12:52:05 +0100 Subject: [PATCH] Compact grid after opening drilldown --- core/templates/widgets/drilldown.html | 1 + 1 file changed, 1 insertion(+) diff --git a/core/templates/widgets/drilldown.html b/core/templates/widgets/drilldown.html index e9c4321..c96fd20 100644 --- a/core/templates/widgets/drilldown.html +++ b/core/templates/widgets/drilldown.html @@ -26,5 +26,6 @@ var grid = document.getElementById("grid-stack-main").gridstack; grid.addWidget(contents.innerHTML); contents.outerHTML = ""; + grid.compact(); \ No newline at end of file