Merge branch 'ent-11503-campo-comments-ocupa-mucho-para-lo-que-muestra-eventos' into 'develop'

Ent 11503 campo comments ocupa mucho para lo que muestra eventos

See merge request artica/pandorafms!6158
This commit is contained in:
Rafael Ameijeiras 2023-06-27 11:22:44 +00:00
commit 7fd836d8de
2 changed files with 14 additions and 0 deletions

View File

@ -634,6 +634,12 @@ select:-internal-list-box {
white-space: nowrap;
}
.nowrap_max180px {
width: 10px;
max-width: 180px;
white-space: nowrap;
}
.wrap {
flex-wrap: wrap;
}

View File

@ -2393,6 +2393,14 @@ try {
];
}
$comment_id = array_search('user_comment', $fields);
if ($comment_id !== false) {
$fields[$comment_id] = [
'text' => 'user_comment',
'class' => 'nowrap_max180px',
];
}
// Always add options column.
$fields = array_merge(
$fields,