Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions apps/web/src/components/pullRequest/PullRequestGhosts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,19 +312,24 @@ export function PullRequestDetailGhost({
</Toggle>
))}
</ToggleGroup>
{checksPresentation ? (
<span
className={cn(
"ml-auto inline-flex items-center gap-1.5 text-xs",
checksPresentation.toneClassName,
)}
>
<checksPresentation.Icon aria-hidden className="size-3.5" />
{checksPresentation.label}
</span>
) : (
<GhostBar className="ml-auto h-3 w-32" />
)}
<span
className={cn(
"ml-auto flex h-4 min-w-0 flex-1 flex-wrap content-start items-center justify-end gap-x-1.5 overflow-hidden text-xs",
checksPresentation?.toneClassName,
)}
>
{checksPresentation ? (
<>
<checksPresentation.Icon aria-hidden className="size-3.5" />
<span className="whitespace-nowrap">{checksPresentation.label}</span>
</>
) : (
<>
<GhostBar className="my-px size-3.5 rounded-full" />
<GhostBar className="w-28" />
</>
)}
</span>
</nav>
</div>

Expand Down
Loading