Skip to content

Commit 9969027

Browse files
committed
fix(web): clarify compact touch controls
1 parent 5c0ff71 commit 9969027

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎apps/web/src/components/ThreadTerminalDrawer.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,8 +1559,8 @@ export default function ThreadTerminalDrawer({
15591559
aria-label={`Close ${displayLabel}`}
15601560
onClick={() => onCloseTerminal(terminalId)}
15611561
>
1562-
<TerminalSquare className="size-3 shrink-0 group-hover/tab:hidden group-focus-visible/close:hidden" />
1563-
<XIcon className="hidden size-3 group-hover/tab:block group-focus-visible/close:block" />
1562+
<TerminalSquare className="size-3 shrink-0 group-hover/tab:hidden group-focus-visible/close:hidden pointer-coarse:hidden" />
1563+
<XIcon className="hidden size-3 group-hover/tab:block group-focus-visible/close:block pointer-coarse:block" />
15641564
</button>
15651565
{isRenaming ? (
15661566
<input

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ import {
120120
} from "./pullRequestProjectAssignment.logic";
121121
import { PullRequestChecksPopover } from "./PullRequestChecksPopover";
122122
import {
123+
PullRequestActorAvatar,
123124
PullRequestActorLabel,
124125
PullRequestDiffStat,
125126
PullRequestMetaLine,
@@ -1422,10 +1423,8 @@ export function PullRequestDetailPanel({
14221423
<div className="col-span-2 min-w-0 px-4 pb-2 pt-1">
14231424
<div className="flex min-w-0 items-center gap-2 text-xs text-muted-foreground">
14241425
<span className="flex min-w-0 shrink items-center gap-1.5 overflow-hidden text-xs text-muted-foreground">
1425-
<PullRequestActorLabel
1426-
actor={detail.author}
1427-
className="shrink-0 [&>span:last-child]:sr-only"
1428-
/>
1426+
<PullRequestActorAvatar actor={detail.author} className="shrink-0" />
1427+
<span className="sr-only">{detail.author?.login ?? "ghost"}</span>
14291428
<span className="shrink-0">{formatRelativeTimeLabel(detail.updatedAt)}</span>
14301429
</span>
14311430
<span aria-hidden className="h-3 w-px shrink-0 bg-border/70" />

0 commit comments

Comments
 (0)