Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(inbox): align inbox list left padding with chat list (#5240)

Jiayuan Zhang489657cfb508
diff --git a/packages/views/inbox/components/inbox-list-item.tsx b/packages/views/inbox/components/inbox-list-item.tsx
index 3839f938f3..9d4a6473df 100644
--- a/packages/views/inbox/components/inbox-list-item.tsx
+++ b/packages/views/inbox/components/inbox-list-item.tsx
@@ -44,7 +44,7 @@ export function InboxListItem({
<button
type="button"
onClick={onClick}
- className={`group flex w-full items-center gap-3 rounded-md px-3 py-2.5 text-left transition-colors ${
+ className={`group flex w-full items-center gap-3 rounded-md px-2 py-2.5 text-left transition-colors ${
isSelected ? "bg-accent" : "hover:bg-accent/50"
}`}
>
diff --git a/packages/views/inbox/components/inbox-page.tsx b/packages/views/inbox/components/inbox-page.tsx
index 81d6c0d6d9..7eb399a4d7 100644
--- a/packages/views/inbox/components/inbox-page.tsx
+++ b/packages/views/inbox/components/inbox-page.tsx
@@ -375,7 +375,7 @@ export function InboxPage() {
</div>
<div className="flex-1 min-h-0 overflow-y-auto space-y-1 p-2">
{Array.from({ length: 5 }).map((_, i) => (
- <div key={i} className="flex items-center gap-3 px-4 py-2.5">
+ <div key={i} className="flex items-center gap-3 px-2 py-2.5">
<Skeleton className="h-7 w-7 shrink-0 rounded-full" />
<div className="flex-1 space-y-2">
<Skeleton className="h-4 w-3/4" />
@@ -433,7 +433,7 @@ export function InboxPage() {
</div>
<div className="flex-1 min-h-0 overflow-y-auto space-y-1 p-2">
{Array.from({ length: 5 }).map((_, i) => (
- <div key={i} className="flex items-center gap-3 px-4 py-2.5">
+ <div key={i} className="flex items-center gap-3 px-2 py-2.5">
<Skeleton className="h-7 w-7 shrink-0 rounded-full" />
<div className="flex-1 space-y-2">
<Skeleton className="h-4 w-3/4" />