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(nav): stop a long email pushing the header cluster off a phone screen

nirholas0a91ea1f46db
diff --git a/src/app.js b/src/app.js
index f44b46af8..4792256e0 100644
--- a/src/app.js
+++ b/src/app.js
@@ -736,7 +736,15 @@ class App {
const signOutBtn = document.getElementById('nav-sign-out-btn');
if (!wrap || !btn || !menu) return;
- if (label) label.textContent = user.email || user.username || 'Account';
+ // A full email is 30+ characters and pushed the whole header cluster off
+ // the right edge of a phone. Show the handle (or the address's local
+ // part) and keep the full identity in the button's tooltip.
+ if (label) {
+ label.textContent =
+ user.username || user.display_name || user.email?.split('@')[0] || 'Account';
+ const full = user.email || user.username || '';
+ if (full) btn.title = full;
+ }
if (profileLink && user.address) profileLink.href = `/u/${user.address}`;
wrap.hidden = false;