Skip to content

Commit

Permalink
Merge pull request #2422 from dannycolin/issue-2421
Browse files Browse the repository at this point in the history
Fix #2421 - Truncate text to ensure the delete icon is visible
  • Loading branch information
dannycolin authored Oct 13, 2022
2 parents 638524a + 441f6c6 commit a7aaacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit a7aaacd

Please sign in to comment.