#10676 Fix module text size

This commit is contained in:
miguel angel rasteu 2023-09-11 15:18:25 +02:00
parent 99f92b9bec
commit fddf204a1b
1 changed files with 8 additions and 2 deletions

View File

@ -526,6 +526,11 @@ if (is_ajax() === true) {
$tmp->module_name = ui_print_truncate_text(
$tmp->module_name,
'module_medium',
false,
true,
false,
'…',
true,
true,
);
}
@ -933,7 +938,8 @@ if (is_ajax() === true) {
// Module name.
$tmp->id_agentmodule = $tmp->module_name;
if (strlen($tmp->id_agentmodule) >= 10) {
/*
if (strlen($tmp->id_agentmodule) >= 10) {
$tmp->id_agentmodule = ui_print_truncate_text(
$tmp->id_agentmodule,
10,
@ -944,7 +950,7 @@ if (is_ajax() === true) {
true,
true,
);
}
}*/
// Options.
// Show more.