Truncate addresses by 2 chars to compensate for color dot width
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
Move truncateMiddle to helpers.js for reuse. Shorten displayed addresses by 2 characters wherever a dot is shown: home view (40 char max), tx list (maxAddr - 2), and address detail container (40ch width).
This commit is contained in:
@@ -207,7 +207,7 @@
|
||||
<span id="address-dot"></span>
|
||||
<span
|
||||
id="address-full"
|
||||
style="width: 42ch; max-width: 100%"
|
||||
style="width: 40ch; max-width: 100%"
|
||||
></span>
|
||||
<span
|
||||
id="address-usd-total"
|
||||
|
||||
Reference in New Issue
Block a user