From db114bc41fef2455f73f74cf0a658ca000125d26 Mon Sep 17 00:00:00 2001 From: AdrienClairembault Date: Wed, 21 Jun 2023 13:52:48 +0200 Subject: [PATCH] Update install script --- install/install.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/install/install.php b/install/install.php index 47e245654..a5fd9f66f 100644 --- a/install/install.php +++ b/install/install.php @@ -762,10 +762,9 @@ protected function createMiniDashboardBigNumbers() { ]; // With counters - $x = 2; - $w = 3; // Width - $h = 1; // Height - $s = 1; // space between widgets + $x = 0; + $w = 4; // Width + $h = 2; // Height $y = 0; foreach ($cards as $key => $options) { $item = new Dashboard_Item(); @@ -778,7 +777,7 @@ protected function createMiniDashboardBigNumbers() { 'height' => $h, 'card_options' => array_merge($commonOptions, $options), ]]); - $x += ($w + $s); + $x += $w; } $this->addRightsToMiniDashboard($dashboard->fields['id']);