fixed size modal pandora_enterprise#8827

This commit is contained in:
Daniel Barbero Martin 2022-06-27 18:07:01 +02:00
parent 3cdde5054a
commit 941d477403
3 changed files with 5 additions and 5 deletions

View File

@ -254,7 +254,7 @@ function initialiceLayout(data) {
confirmDialog({
title: "Are you sure?",
message:
"<h4 style='text-align: center;padding-top: 20px;'>All changes made to this widget will be lost</h4>",
"<h3 style='text-align: center;padding-top: 20px;'>All changes made to this widget will be lost</h3>",
cancel: "Cancel",
ok: "Ok",
onAccept: function() {
@ -718,7 +718,7 @@ function initialiceLayout(data) {
confirmDialog({
title: "Are you sure?",
message:
"<h4 style='text-align: center;padding-top: 20px;'>All changes made to this widget will be lost</h4>",
"<h3 style='text-align: center;padding-top: 20px;'>All changes made to this widget will be lost</h3>",
cancel: "Cancel",
ok: "Ok",
onAccept: function() {

View File

@ -400,7 +400,7 @@ class EventsListWidget extends Widget
// Severity.
$fields = \get_priorities();
$inputs['inputs']['row2'][] = [
$inputs['inputs']['row1'][] = [
'label' => \__('Severity'),
'arguments' => [
'type' => 'select',
@ -719,7 +719,7 @@ class EventsListWidget extends Widget
{
$size = [
'width' => 800,
'height' => 520,
'height' => (is_metaconsole() === true) ? 600 : 550,
];
return $size;

View File

@ -735,7 +735,7 @@ class TreeViewWidget extends Widget
{
$size = [
'width' => 450,
'height' => 590,
'height' => (is_metaconsole() === true) ? 500 : 590,
];
return $size;