Skip to content

Commit 3c01874

Browse files
committed
fix(web): show pointer cursors on pull request controls
1 parent 7bd7f99 commit 3c01874

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function PullRequestRowImpl({
104104
aria-current={selected ? "true" : undefined}
105105
onClick={() => onSelect(entry)}
106106
className={cn(
107-
"@container/pr-row grid w-full grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-lg px-3 py-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
107+
"@container/pr-row grid w-full cursor-pointer grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-lg px-3 py-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
108108
// Offscreen rows are skipped for style, layout and paint: a long list costs what the
109109
// viewport shows, not what the pages have loaded. The intrinsic size keeps the
110110
// scrollbar honest while a row is skipped.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ export function PullRequestSummaryTab({
806806
onClick={() => check.url && openCheck(check.url)}
807807
className={cn(
808808
"flex min-w-0 flex-1 items-start gap-2 rounded-md px-2 py-2 text-left text-xs leading-5 [&>svg]:mt-0.5",
809-
check.url ? undefined : "cursor-default",
809+
check.url ? "cursor-pointer" : "cursor-default",
810810
)}
811811
>
812812
<PullRequestCheckStatusIcon status={check.status} />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function CommitEvent({
385385
return (
386386
<button
387387
type="button"
388-
className="group relative mb-5 block w-full rounded-sm pl-12 text-left outline-none [contain-intrinsic-block-size:48px] [content-visibility:auto] focus-visible:ring-2 focus-visible:ring-ring"
388+
className="group relative mb-5 block w-full cursor-pointer rounded-sm pl-12 text-left outline-none [contain-intrinsic-block-size:48px] [content-visibility:auto] focus-visible:ring-2 focus-visible:ring-ring"
389389
aria-label={`View commit ${event.id}`}
390390
onClick={() => onOpen(event.id)}
391391
>

0 commit comments

Comments
 (0)