mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
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:
parent
918641d3e2
commit
582e632f12
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue