Skip to content

Commit

Permalink
Merge pull request #469 from atm-irvine/fix_da025039_word_wrap
Browse files Browse the repository at this point in the history
Added CSS to correct word wrap
  • Loading branch information
atm-quentin authored May 30, 2024
2 parents a1688be + ec489d8 commit e69a3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/functions.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -13350,7 +13350,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = '', $n
&& $actionstatic->code != 'AC_TICKET_CREATE'
&& $actionstatic->code != 'AC_TICKET_MODIFY'
) {
$out .= '<div class="timeline-body" >';
$out .= '<div class="timeline-body" style="word-wrap: break-word; word-break: break-all;" >';
$truncateLines = getDolGlobalInt('MAIN_TRUNCATE_TIMELINE_MESSAGE', 3);
$truncatedText = dolGetFirstLineOfText($histo[$key]['message'], $truncateLines);
if ($truncateLines > 0 && strlen($histo[$key]['message']) > strlen($truncatedText)) {
Expand Down

0 comments on commit e69a3a3

Please sign in to comment.