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.

design(mobile): raise the round-4 tap targets, including the ones short on width only

nirholas260e37b7cf78
diff --git a/pages/irl.html b/pages/irl.html
index 7727225b2..bb0126570 100644
--- a/pages/irl.html
+++ b/pages/irl.html
@@ -1594,7 +1594,9 @@
/* "Approximately" is styled identically to "exactly" — equal weight, no dark pattern */
#irl-consent-approx { border-color: rgba(96,165,250,0.4); background: rgba(96,165,250,0.16); color: #93c5fd; }
#irl-consent-approx:hover { background: rgba(96,165,250,0.26); }
- .irl-consent-dontshow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9ca3af; cursor: pointer; margin-bottom: 14px; }
+ /* The label is the target: tapping it toggles the box, so the row carries
+ the 44px floor and the 16px box stays the size it was designed. */
+ .irl-consent-dontshow { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; color: #9ca3af; cursor: pointer; margin-bottom: 14px; }
.irl-consent-dontshow input { width: 16px; height: 16px; accent-color: #60a5fa; cursor: pointer; }
.irl-consent-cancel {
display: block; width: 100%; padding: 11px; border-radius: 12px;
diff --git a/public/mobile.css b/public/mobile.css
index 864ca4dbb..7aa985860 100644
--- a/public/mobile.css
+++ b/public/mobile.css
@@ -1010,3 +1010,120 @@
min-height: 44px;
}
}
+
+/* ── Tap-target floor, round 4 (touch only) ────────────────────────────
+ * The residue of the 2026-09-08 run, re-measured against a local production
+ * build once rounds 1-3 and the delivery fix above were in place. Two
+ * shapes dominate it, and both are worth recognising because neither is
+ * "we forgot a rule":
+ *
+ * - One axis short. A control that already carries a height floor can
+ * still be 23px wide (a two-letter wordmark, an icon-only action).
+ * `min-height` alone never catches those, so these get `min-width`.
+ * - A component that declares its own floor BELOW 44. `min-height` beats
+ * `height`, so a page that sets a height loses to this file; a page
+ * that sets its own `min-height: 32px` in a runtime-injected <style>
+ * wins on equal specificity and later order. Those are fixed where they
+ * are declared instead of being fought from here (see
+ * src/irl/onboarding.js), which is why they are not in this list.
+ */
+@media (hover: none) and (pointer: coarse) {
+ /* Home: partner wordmarks measured 23x44 and 28x44, the contract-address
+ copy button 353x26, and the floating brand chip 34x34 (public/brand.js
+ sizes it explicitly under 560px). */
+ .press-logo {
+ min-width: 44px;
+ justify-content: center;
+ }
+ .foot-ca {
+ min-height: 44px;
+ }
+ .brand-mark-chip {
+ min-width: 44px;
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ /* /forge BYOK key field, 296x39. */
+ .byok-input {
+ min-height: 44px;
+ }
+
+ /* /news topbar links reach the height floor and stop at 38px wide. */
+ header.topbar nav a {
+ min-width: 44px;
+ justify-content: center;
+ }
+
+ /* /coin: breadcrumbs (38x22), the narrow chart ranges (37x44 and 40x44)
+ and the copy-contract button (38x19). */
+ .cv-crumbs a,
+ .cv-contract button {
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ }
+ .cv-range-btn {
+ min-width: 44px;
+ justify-content: center;
+ }
+
+ /* /walk's skip link, 201x36. */
+ .h-skip-link {
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ }
+
+ /* /play lobby: the identity disclosure and its field (both 315x40), the
+ feed sort segments (40px) and the footer links (43x44, 40x44). */
+ .cc-id-toggle,
+ .cc-sort,
+ .cc-avatar-custom input {
+ min-height: 44px;
+ }
+ .cc-foot-links a {
+ min-width: 44px;
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ /* /launches: the hero CTAs (39px), the pulse-strip label (14px), the
+ network toggle (28px) and the oracle filter (27px); plus the two
+ round-2 controls that were short on the OTHER axis, 37x43 and 43x57. */
+ .lx-btn,
+ .lx-pulse-label,
+ .lx-net-btn,
+ .lx-of-btn {
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ }
+ .twc-make,
+ .lx-action-watch,
+ .lx-of-btn,
+ .lx-net-btn {
+ min-width: 44px;
+ justify-content: center;
+ }
+
+ /* Docs shell: the world link is 35px wide, the header CTA 58x30, and the
+ sidebar search field 247x36. */
+ .docs-world-link {
+ min-width: 44px;
+ justify-content: center;
+ }
+ .docs-header-right .btn-primary,
+ .sidebar-search input {
+ min-height: 44px;
+ display: inline-flex;
+ align-items: center;
+ }
+ .sidebar-search input {
+ display: block;
+ }
+}
diff --git a/src/irl/onboarding.js b/src/irl/onboarding.js
index 5c1cc44d4..fa0bf71d4 100644
--- a/src/irl/onboarding.js
+++ b/src/irl/onboarding.js
@@ -555,7 +555,11 @@ const ONBOARD_CSS = `
.irl-ob-sub { margin: 0; font-size: 13px; line-height: 1.5; color: #93a1b5; }
.irl-ob-learn {
display: inline-flex; align-items: center; gap: 5px;
- min-height: 32px; margin: 5px -6px 0; padding: 0 6px;
+ /* 44px, not 32: this stylesheet is injected into <head> at runtime, so it
+ lands after /mobile.css and wins the tap-target floor on equal
+ specificity and later order. A component that declares its own
+ min-height owns it, so the floor is declared here. */
+ min-height: 44px; margin: 5px -6px 0; padding: 0 6px;
font: 500 12px/1 var(--font-body, system-ui, sans-serif);
color: #7dd3fc; text-decoration: none;
transition: color .15s;