mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Give the work panel's PR card its own surface
The card's default muted background matched the panel's secondary container exactly; it now uses the same background inset as the branch chip so both read as distinct items on the surface. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
c201f0431a
commit
c3d49f111c
@@ -51,7 +51,12 @@ export function ChatWorkPanel({
|
||||
<span className="min-w-0 truncate font-mono">{branch}</span>
|
||||
</div>
|
||||
) : null}
|
||||
<GithubPullRequestCard className="w-full" preview={preview} />
|
||||
<GithubPullRequestCard
|
||||
// Matches the branch chip: the card needs its own surface on the
|
||||
// secondary container or the two read as one flat block.
|
||||
className="w-full border-transparent bg-background/60 hover:bg-background/80"
|
||||
preview={preview}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user