Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(agent-exchange): wrap the mobile ticker row and restore the dollar sign on the session total

nirholas9ff2c480b300
diff --git a/pages/agent-exchange.html b/pages/agent-exchange.html
index 92f4bc590..3c1a10caf 100644
--- a/pages/agent-exchange.html
+++ b/pages/agent-exchange.html
@@ -268,7 +268,10 @@
@media (max-width:640px) {
#app { grid-template-rows: auto 1fr auto; }
.topbar { flex-wrap:wrap; gap:8px 10px; padding:8px 14px; }
- .tx-ticker { order:3; flex-basis:100%; font-size:11px; }
+ /* The ticker lives inside .tb-right, so it is that row that has to wrap
+ for the session total to get its own line rather than run off the edge. */
+ .tb-right { flex-wrap:wrap; justify-content:flex-end; row-gap:8px; }
+ .tx-ticker { order:3; flex-basis:100%; justify-content:flex-end; font-size:11px; }
.bubble { display:none; }
#exchange { padding:10px 14px 16px; }
.pay-btn { align-self:stretch; justify-content:center; }
diff --git a/src/agent-exchange.js b/src/agent-exchange.js
index ecf779e75..3348303cb 100644
--- a/src/agent-exchange.js
+++ b/src/agent-exchange.js
@@ -444,7 +444,7 @@ async function doPurchase() {
sessionTotal += paidAmount;
const ticker = totalUsdc();
if (ticker) {
- ticker.textContent = `${sessionTotal.toFixed(2)}`;
+ ticker.textContent = `$${sessionTotal.toFixed(2)}`;
ticker.classList.add('flash');
setTimeout(() => ticker.classList.remove('flash'), 600);
}