Consistent headings on home: lighter title rules, thick section dividers
All checks were successful
check / check (push) Successful in 17s
All checks were successful
check / check (push) Successful in 17s
Wallet and Recent Transactions headings now use border-border-light for their bottom rule. Thick 2px black horizontal rules separate wallet sections from each other and from the transactions section, with generous vertical spacing.
This commit is contained in:
@@ -251,8 +251,11 @@ function render(ctx) {
|
||||
|
||||
let html = "";
|
||||
state.wallets.forEach((wallet, wi) => {
|
||||
if (wi > 0) {
|
||||
html += `<hr style="border:none;border-top:2px solid currentColor;margin:1rem 0">`;
|
||||
}
|
||||
html += `<div class="mb-3">`;
|
||||
html += `<div class="flex justify-between items-center border-b border-border pb-1 mb-1">`;
|
||||
html += `<div class="flex justify-between items-center border-b border-border-light pb-1 mb-1">`;
|
||||
html += `<span class="font-bold cursor-pointer wallet-name underline decoration-dashed" data-wallet="${wi}">${wallet.name}</span>`;
|
||||
if (wallet.type === "hd") {
|
||||
html += `<button class="btn-add-address border border-border px-1 hover:bg-fg hover:text-bg cursor-pointer text-xs" data-wallet="${wi}" title="Add another address to this wallet">+</button>`;
|
||||
|
||||
Reference in New Issue
Block a user