Repository navigation
Description
What happened
When multiple provider instances exist (showing initials badges such as AY / AB on the Antigravity icon), the instance badge at the bottom-right of each sidebar thread card is sliced flat along its right and bottom edges instead of rendering as a full rounded pill (compare the same AY icon in the composer, which is unclipped).
Diagnosis
- In
apps/web/src/components/chat/ProviderInstanceIcon.tsx:114and182-183,ProviderInstanceIconwithsize="compact"renders a14px(size-3.5) icon and positions the initials badge atright-[-0.1875rem] bottom-[-0.1875rem](3pxoutside the icon's right and bottom edges). - In
apps/web/src/components/sidebar/SidebarThreadRow.tsx:1651-1663(1693-1705onmain), the bottom metadata row (metaLine) usesmin-h-4(16px) withitems-centerandoverflow-hidden, andSidebarProviderIcon/SidebarProviderStack(SidebarThreadRow.tsx:258-270in7cb8305e3a;260-296onmain) wraps the compact icon in<span className="inline-flex shrink-0 items-center">with no trailing/bottom padding. - Because the
14pxicon is vertically centered in a16px(min-h-4) box and theagentsitem sits at the right edge ofmetaLine, the-0.1875rem(3px) badge offset extends~2pxpast the bottom edge and3pxpast the right edge ofmetaLine, sooverflow-hiddenclips both edges of the badge.
Steps to reproduce
- Configure at least two instances of a provider (e.g. two Antigravity accounts) so
shouldShowInstanceBadgeistrueand an initials badge (AY,AB, etc.) is shown. - Keep the default sidebar thread card layout where
agentsis at the end of the bottom row. - Inspect the provider icon at the bottom-right of any thread card in the sidebar.
- Expected: The full rounded initials badge renders cleanly, matching the composer picker.
- Actual: The right and bottom edges of the badge are clipped flat by
metaLine'soverflow-hidden`.
Version
0.1.14-nightly.20261129.5438 (commit 7cb8305; also present on main at 4ddd02d)
Environment
T3 Code Desktop 0.1.14-nightly.20261129.5438, Linux x64 (7.3.5-200.fc44.x86_64), Node v24.22.1
Evidence
SidebarThreadRow.tsx (main @ 4ddd02d137):
1697: "mt-0.5 flex min-h-4 min-w-0 items-center gap-1.5 overflow-hidden text-secondary-label text-xs",
ProviderInstanceIcon.tsx:
114: const iconClassName = cn(props.size === "compact" && "size-3.5", props.iconClassName);
182: props.size === "compact" &&
183: "right-[-0.1875rem] bottom-[-0.1875rem] h-3 min-w-3 px-0.5 text-5xs",Related issues
Not a duplicate of #45607 (fixed in #45609), which addressed card-height clipping at 20px interface font size. Also checked #44794 (SidebarProviderStack), which preserved the same compact icon wrapper inside metaLine's overflow-hidden.
Fix applied or workaround
None applied locally.
Filed by
antigravity (gemini-4-hydrogen) via t3 triage
Activity