Shorten truncated address by 2 more chars to prevent wrapping
All checks were successful
check / check (push) Successful in 13s
All checks were successful
check / check (push) Successful in 13s
This commit is contained in:
@@ -127,7 +127,7 @@ function renderTransactions(txs) {
|
||||
line2.className = "flex justify-between";
|
||||
const addr = document.createElement("span");
|
||||
addr.className = "pr-2";
|
||||
const maxAddr = Math.max(10, 40 - Math.max(0, amountStr.length - 10));
|
||||
const maxAddr = Math.max(10, 38 - Math.max(0, amountStr.length - 10));
|
||||
addr.textContent = truncateMiddle(counterparty, maxAddr);
|
||||
addr.title = counterparty;
|
||||
const amount = document.createElement("span");
|
||||
|
||||
Reference in New Issue
Block a user