diff --git a/pandora_console/include/styles/dashboards.css b/pandora_console/include/styles/dashboards.css index 818e523316..675b5c7c50 100644 --- a/pandora_console/include/styles/dashboards.css +++ b/pandora_console/include/styles/dashboards.css @@ -950,6 +950,19 @@ input.resize_button { right: 6%; } +.new-widget-message > div > table, +.container-center > div > table { + display: flex; + flex-direction: column; + align-items: center; +} + +.new-widget-message > div > table tr td > div, +.container-center > div > table tr td > div { + position: absolute; + right: 20px; +} + .parent_graph > .graph { margin-left: 10px; } diff --git a/pandora_console/views/dashboard/widget.php b/pandora_console/views/dashboard/widget.php index 2f0bfe7364..a2fbdc1783 100644 --- a/pandora_console/views/dashboard/widget.php +++ b/pandora_console/views/dashboard/widget.php @@ -43,7 +43,7 @@ if ((int) $cellData['id_widget'] !== 0 || $widgetId !== 0) { true ); - $output .= '
'; + $output .= '
'; $output .= \ui_print_info_message( __('Please select widget'), '',