Skip to content

Commit 32232ea

Browse files
committed
fix(web): omit empty pull request header space
1 parent 35e8393 commit 32232ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,6 +1451,7 @@ export function PullRequestDetailPanel({
14511451
className={cn(
14521452
"@container/pr-header grid min-w-0 shrink-0 grid-cols-[minmax(0,1fr)_auto] items-start gap-x-2",
14531453
detail && "border-b border-border/60",
1454+
!detail && !onClose && "hidden",
14541455
)}
14551456
>
14561457
<div className="ml-4 grid h-7 min-w-0 items-center overflow-hidden">

0 commit comments

Comments
 (0)