Fixed repo landing commit messages for multi-line and long line commit msgs

This commit is contained in:
Andrii V 2026-02-13 15:52:01 +01:00
parent 6b03dee3cb
commit cb7f116e22
2 changed files with 6 additions and 1 deletions

View file

@ -355,6 +355,11 @@ table.dataTable {
overflow: visible;
}
&.log-container .truncate {
width: auto;
text-overflow: ellipsis;
}
.tags-truncate {
width: 150px;
height: 22px;

View file

@ -45,7 +45,7 @@
<td class="td-description mid">
<div class="log-container truncate-wrap">
<div class="message truncate" id="c-${cs.raw_id}">${urlify_commit_message(cs.message, c.repo_name)}</div>
<div class="message truncate" id="c-${cs.raw_id}">${urlify_commit_message(h.chop_at_smart(cs.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
</div>
</td>