fix: add top padding to sticky review block header (#1660)

* fix: add top padding to sticky review block header

The sticky per-block header on the reviews page had padding below but
none above, so the block number badge sat glued against the top edge
when pinned. Add matching top padding for breathing room.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>

* chore: use py-2 shorthand for review block header padding

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
(cherry picked from commit 23bd4a63fc5ba0fe853babf79ed33feb866cc8b2)
This commit is contained in:
Caroline di Vittorio 2026-07-01 15:44:43 -07:00 • committed by Adam Moussa
parent 918641d3e2
commit 582e632f12
No known key found for this signature in database

View file

@ -1425,7 +1425,7 @@ function GroupHeader({ group }: { group: ResolvedGroup }) {
[group.summary]
)
return (
<div className="sticky top-0 z-[5] border-b border-border bg-background pb-2">
<div className="sticky top-0 z-[5] border-b border-border bg-background py-2">
<div className="flex items-center gap-2">
<span className="flex size-5 shrink-0 items-center justify-center rounded bg-[var(--ui-panel-2)] text-[11px] font-medium text-muted-foreground">
{group.index}