From 427eb66162dc3482e3cfba2613aa87b06f5340d7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 6 Dec 2026 12:35:13 -0700 Subject: Gift sender chip: the hat isn't cut off, the face waits for the real picture, and no "Claiming it follows them" line. "Hat cut off here and also the avatar showed a punk first before the right one appeared can we fix that so it loads the right avatar right away? Also let's remove the text about how claiming follows" (Adam, 2026-12-06, a 5 CAD gift from him on the claim screen). The chip's `.zap-chip > span { overflow: hidden }` (meant for the name) also clipped the .hat-wrap span; it now skips .hat-wrap. A small face gave up after 1 s and drew punk art while the sender's profile was still loading; profileChip's new 'wait' size makes the face wait for the lookup like a profile page's does (quiet circle, then the real picture; punk only if they have none). The follows line is gone from the screen and all locales (claiming still follows the sender). gift-from-test checks all three; features-smoke passes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar --- src/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 4a86697..edf71b5 100644 --- a/src/style.css +++ b/src/style.css @@ -1265,7 +1265,7 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } border: 3px solid var(--paper); box-sizing: content-box; } .zap-chip { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; background: var(--surface2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px 1px 2px; min-width: 0; max-width: 100%; } -.zap-chip > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.zap-chip > span:not(.hat-wrap) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-avatar.mini { width: 18px; height: 18px; font-size: 8px; flex-shrink: 0; } /* A feed row is the one place a face is the point, not a label on a line — Amethyst gives it 55dp; at our 30px it read as a bullet beside the post. -- cgit v1.2.3