mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
13402-Fix margins in widget Basic chart dark theme
This commit is contained in:
parent
8de1e7b218
commit
d4bb6e8b01
@ -641,7 +641,7 @@ class BasicChart extends Widget
|
||||
$this->values['period'] = parent::getPeriod();
|
||||
}
|
||||
|
||||
$margin = 10;
|
||||
$margin = 15;
|
||||
$size['height'] -= $margin;
|
||||
$graph_height = $size['height'];
|
||||
$margin_top = 0;
|
||||
@ -688,7 +688,7 @@ class BasicChart extends Widget
|
||||
];
|
||||
|
||||
$graph = \grafico_modulo_sparse($params);
|
||||
$output = '<div class="container-center widget-mrgn-0px w100pi">';
|
||||
$output = '<div class="container-center widget-mrgn-0px w100pi basic-chart-widget">';
|
||||
if (str_contains($graph, '<img') === false) {
|
||||
$output .= '<div class="basic-chart-title">';
|
||||
$output .= '<span style="color:'.$this->values['colorLabel'].'; font-size:'.$this->values['sizeLabel'].'px;">';
|
||||
|
@ -2082,3 +2082,7 @@ li.agent-autocomplete-li-text-color a {
|
||||
background-color: var(--secondary-color);
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.basic-chart-widget .flot-base {
|
||||
background-color: unset;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user