TypeScript
fix(web): center pull request timeline actions (#24259)
Alexc8c9ccf916d5
diff --git a/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx b/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsxindex 695bee10583..11397826a64 100644--- a/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx+++ b/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx@@ -166,7 +166,7 @@ function OpenOnHostButton({ url, onOpen }: { url: string | null; onOpen: (url: s<Buttonsize="icon-xs"variant="ghost-muted"- className="-mr-1 -mt-1 shrink-0"+ className="-mr-1 shrink-0"aria-label="Open activity on host"onClick={() => onOpen(url)}>@@ -217,7 +217,7 @@ function ConversationCard({return (<article className="group py-2"><div className="px-2">- <div className="flex min-w-0 flex-wrap items-start gap-2">+ <div className="flex min-w-0 flex-wrap items-center gap-2"><div className="min-w-0 flex-1"><div className="flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1 text-xs"><ActorName actor={event.actor} />@@ -237,11 +237,7 @@ function ConversationCard({</PullRequestMetaLine></div>{editable !== null && !editing ? (- <PullRequestEditButton- className="-mt-1"- aria-label="Edit comment"- onClick={() => setEditing(true)}- />+ <PullRequestEditButton aria-label="Edit comment" onClick={() => setEditing(true)} />) : null}{reactions.canReact || event.reactions.length > 0 ? (<PullRequestReactionBar@@ -564,7 +560,7 @@ function ReviewVerdictEvent({className="top-6"fallback={<PullRequestReviewOutcomeIcon outcome={outcome} />}/>- <div className="flex min-w-0 flex-wrap items-start gap-2 py-1.5">+ <div className="flex min-w-0 flex-wrap items-center gap-2 py-1.5"><div className="min-w-0 flex-1"><div className="flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1 text-xs"><ActorName actor={event.actor} />