Fix #2421 - Truncate text to ensure the delete icon is visible

This commit is contained in:
Danny Colin 2022-10-06 19:29:23 -04:00
parent d642f132fc
commit 441f6c6c34
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 66bcca02c98ca6739e9722f9ce80c4c71161a24b
Subproject commit 26e17db70ce276ab5ccb5ae582e5c142f12ba655

View file

@ -1427,7 +1427,7 @@ Logic.registerPanel(P_CONTAINER_ASSIGNMENTS, {
trElement.innerHTML = Utils.escaped`
<td>
<div class="favicon"></div>
<span title="${site.hostname}" class="menu-text">${site.hostname}</span>
<span title="${site.hostname}" class="menu-text truncate-text">${site.hostname}</span>
<img class="trash-button delete-assignment" src="/img/container-delete.svg" />
</td>`;
trElement.getElementsByClassName("favicon")[0].appendChild(Utils.createFavIconElement(assumedUrl));