Ads screen layout by real width + Qualified Start positions on Credits (wallet switch fix)

Ads: the campaign table squeezed its empty-state note (and the first column) to a
word or a letter per line beside the side cards. Container queries now stack the
side cards under the table and turn rows into cards when the table cannot hold
seven columns, whatever the rail state. cr.css: an empty-state row (one muted
note) spans every column on every Control Room table.

Wallet: Disconnect really lets go (keeps wagmi's disconnected marker, revokes the
injected permission, next connect opens the account picker), so MetaMask no longer
snaps back to the first account. Credits gains Switch account, Disconnect, Add a
position wallet and a Buy from picker (ported from the classic Buy pane), so a
member can add wallets #2..#5 and buy from each while staying signed in as
themselves. Classic dashboard and Wallet screen copy point to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-18 05:15:15 -05:00
parent f875d94d51
commit 44d40863db
16 changed files with 135 additions and 43 deletions
+5 -3
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Credits · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261017p">
<link rel="stylesheet" href="/assets/cr.css?v=20261018a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
@@ -24,6 +24,7 @@
.row:last-child{border-bottom:0}
.buys .hd,.buys .rw{grid-template-columns:150px 110px 130px minmax(0,1fr)}
.acts{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.acts[hidden]{display:none}
@media (max-width:900px){.two{grid-template-columns:1fr}.pkgs{grid-template-columns:repeat(2,minmax(0,1fr))}.buys .hd{display:none}.buys .rw{grid-template-columns:1fr 1fr}.body{padding:12px 16px}}
</style>
</head>
@@ -41,6 +42,7 @@
<span class="led"><span style="font-size:10px;letter-spacing:.1em;text-transform:uppercase">you pay</span><b id="payPol">·</b><span id="payUsd"></span></span>
<span class="mono muted" style="font-size:11px" id="rateLine"></span>
</div>
<div class="acts" id="fromWrap" hidden><label class="lbl" style="min-width:min(100%,320px)">Buy from<select class="field" id="buyFrom"></select></label><span class="muted" style="font-size:12px" id="fromHint"></span></div>
<div class="acts" id="buyActs">
<button class="btn pri" type="button" id="buyBtn" disabled>Connect a wallet to buy</button>
<button class="btn" type="button" id="cardBtn">Buy POL with a card</button>
@@ -79,8 +81,8 @@
</div>
</div>
<script src="/assets/common.js?v=20261016a"></script>
<script src="/assets/wallet.js?v=20261008a"></script>
<script src="/assets/wallet.js?v=20261018a"></script>
<script src="/assets/cr-shell.js?v=20261017p"></script>
<script src="/assets/credits-screen.js?v=20261016a"></script>
<script src="/assets/credits-screen.js?v=20261018a"></script>
</body>
</html>