#10696 delete switches from graphs in netflow widget

This commit is contained in:
Daniel Cebrian 2023-06-08 15:56:13 +02:00
parent e737cb4f01
commit fb297c8891
2 changed files with 11 additions and 1 deletions

View File

@ -298,6 +298,7 @@ class Netflow extends Widget
*/
public function load()
{
ui_require_css_file('netflow_widget', 'include/styles/', true);
global $config;
$output = '';
@ -333,7 +334,7 @@ class Netflow extends Widget
$config['style'],
true
);
$style = 'height: 100%; border: none;';
$style = 'width:100%; height: 100%; border: none;';
if ($this->values['chart_type'] !== 'netflow_area') {
$style .= ' width: 95%;';
}

View File

@ -0,0 +1,9 @@
.menu_graph {
display: none;
}
.parent_graph {
width: 97% !important;
}
#image_hide_show_labels {
display: none !important;
}