fix(web): show pointer cursors on pull request controls (#11283)
This commit is contained in:
1 parent
4a8ab1b720
commit
871192933f
3 files changed
+3
-3
No files matched your search
@@ -104,7 +104,7 @@ function PullRequestRowImpl({
|
||||
aria-current={selected ? "true" : undefined}
|
||||
onClick={() => onSelect(entry)}
|
||||
className={cn(
|
||||
"@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",
|
||||
"@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",
|
||||
// Offscreen rows are skipped for style, layout and paint: a long list costs what the
|
||||
// viewport shows, not what the pages have loaded. The intrinsic size keeps the
|
||||
// scrollbar honest while a row is skipped.
|
||||
|
||||
@@ -806,7 +806,7 @@ export function PullRequestSummaryTab({
|
||||
onClick={() => check.url && openCheck(check.url)}
|
||||
className={cn(
|
||||
"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",
|
||||
check.url ? undefined : "cursor-default",
|
||||
check.url ? "cursor-pointer" : "cursor-default",
|
||||
)}
|
||||
>
|
||||
<PullRequestCheckStatusIcon status={check.status} />
|
||||
|
||||
@@ -385,7 +385,7 @@ function CommitEvent({
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
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"
|
||||
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"
|
||||
aria-label={`View commit ${event.id}`}
|
||||
onClick={() => onOpen(event.id)}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user