Merge branch 'ent-11592-las-etiquetas-de-texto-en-la-consola-visual-van-mal' into 'develop'

Ent 11592 las etiquetas de texto en la consola visual van mal

See merge request artica/pandorafms!6115
This commit is contained in:
Matias Didier 2023-06-16 07:41:49 +00:00
commit d0998432df
3 changed files with 11 additions and 2 deletions

View File

@ -1865,6 +1865,10 @@ class Item extends CachedModel
$save = array_merge($dataModelEncode, $dataEncode);
if (!empty($save['label'])) {
$save['label'] = io_safe_output(io_safe_input(str_replace("'", "\'", $save['label'])));
}
$result = \db_process_sql_update(
'tlayout_data',
$save,

View File

@ -90,11 +90,11 @@ final class Label extends Item
// Default values.
if (isset($values['width']) === false) {
$values['width'] = 10;
$values['width'] = 50;
}
if (isset($values['height']) === false) {
$values['height'] = 10;
$values['height'] = 50;
}
return $values;

View File

@ -12240,3 +12240,8 @@ div.parent_graph > p.legend_background > table > tbody > tr {
.toggle-traffic-graph {
margin: 0px !important;
}
div#visual-console-container * {
font-size: unset;
line-height: unset;
}