fixed size modal pandora_enterprise#8827
This commit is contained in:
parent
6edc6e1014
commit
7a93861a2b
|
@ -381,7 +381,7 @@ class AlertsFiredWidget extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 260,
|
||||
'height' => (is_metaconsole() === true) ? 330 : 260,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -298,7 +298,7 @@ class WelcomeWidget extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 500,
|
||||
'height' => 210,
|
||||
'height' => 220,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -544,7 +544,7 @@ class MapsMadeByUser extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 270,
|
||||
'height' => (is_metaconsole() === true) ? 330 : 270,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -409,7 +409,7 @@ class MapsStatusWidget extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 410,
|
||||
'height' => 425,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -319,7 +319,7 @@ class MonitorHealthWidget extends Widget
|
|||
20
|
||||
);
|
||||
|
||||
$output = '<div class="container-center mw200px min-height-320px">';
|
||||
$output = '<div>';
|
||||
$output .= \html_print_table($table, true);
|
||||
$output .= '</div>';
|
||||
|
||||
|
@ -358,7 +358,7 @@ class MonitorHealthWidget extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 210,
|
||||
'height' => 220,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -296,8 +296,8 @@ class PostWidget extends Widget
|
|||
public function getSizeModalConfiguration(): array
|
||||
{
|
||||
$size = [
|
||||
'width' => 480,
|
||||
'height' => 480,
|
||||
'width' => 500,
|
||||
'height' => 500,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -508,7 +508,7 @@ class ReportsWidget extends Widget
|
|||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 260,
|
||||
'height' => (is_metaconsole() === true) ? 330 : 260,
|
||||
];
|
||||
|
||||
return $size;
|
||||
|
|
|
@ -540,4 +540,20 @@ class TopNWidget extends Widget
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get size Modal Configuration.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getSizeModalConfiguration(): array
|
||||
{
|
||||
$size = [
|
||||
'width' => 400,
|
||||
'height' => 530,
|
||||
];
|
||||
|
||||
return $size;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue