fix: keep sidebar thread rows at a fixed height on hover (#1536)

Hover swaps the PR icon/badge (which has its own padding) for the
resolve/delete action buttons, changing the row's natural height. Pin
the row to a fixed height so the swap no longer shifts its size.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
Caroline di Vittorio 2026-06-15 16:15:27 -07:00 • committed by GitHub
parent ddd7190864
commit 698613e6db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -368,7 +368,7 @@ function ThreadRow({
params={{ threadId: thread.id }}
onClick={onNavigate}
className={cn(
"group mb-0.5 flex items-center gap-2 rounded-lg px-2.5 py-1.5 transition-colors",
"group mb-0.5 flex h-8 items-center gap-2 rounded-lg px-2.5 transition-colors",
isActive
? "bg-[var(--ui-accent-bubble)] text-[var(--ui-text)]"
: "text-[var(--ui-text-muted)] hover:bg-[var(--ui-sidebar-hover)]",