diff --git a/library/Director/Web/Table/ActivityLogTable.php b/library/Director/Web/Table/ActivityLogTable.php index 76a703ae..0e33f90a 100644 --- a/library/Director/Web/Table/ActivityLogTable.php +++ b/library/Director/Web/Table/ActivityLogTable.php @@ -172,7 +172,10 @@ class ActivityLogTable extends ZfQueryBasedTable // This can be replaced once we get theme-safe colors for such messages return Html::tag('div', [ 'class' => 'range-comment-container', - ], Link::create($this->continueRange ? '' : $range->remark, '#', null, ['class' => 'range-comment'])); + ], Link::create($this->continueRange ? '' : $range->remark, '#', null, [ + 'title' => $range->remark, + 'class' => 'range-comment' + ])); } protected function growCurrentRange() diff --git a/public/css/module.less b/public/css/module.less index 1a3611b1..6cef922c 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -1388,6 +1388,8 @@ table.activity-log { -ms-overflow-style: none; overflow-y:auto; overflow-x:hidden; + text-overflow: ellipsis; + word-break: break-word; &:hover { text-decoration: none; } @@ -1399,6 +1401,7 @@ table.activity-log { td.comment-cell { padding: 0; min-width: 10em; + width: 40%; position: relative; &.continuing div.range-comment-container { border-bottom-left-radius: 0;