mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-04 16:02:13 +00:00
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:
parent
ddd7190864
commit
698613e6db
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ function ThreadRow({
|
||||||
params={{ threadId: thread.id }}
|
params={{ threadId: thread.id }}
|
||||||
onClick={onNavigate}
|
onClick={onNavigate}
|
||||||
className={cn(
|
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
|
isActive
|
||||||
? "bg-[var(--ui-accent-bubble)] text-[var(--ui-text)]"
|
? "bg-[var(--ui-accent-bubble)] text-[var(--ui-text)]"
|
||||||
: "text-[var(--ui-text-muted)] hover:bg-[var(--ui-sidebar-hover)]",
|
: "text-[var(--ui-text-muted)] hover:bg-[var(--ui-sidebar-hover)]",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue