TypeScript
fix(web): align pull request state glyph to top of row (#11268)
Akash Moradiya599c9776eb88
diff --git a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsxindex 4e58fdbe68f..fde83ce2ee7 100644--- a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx+++ b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx@@ -1535,7 +1535,7 @@ export function PullRequestDetailPanel({!detail && !onClose && "hidden",)}>- <div className="ml-4 grid h-7 min-w-0 items-center overflow-hidden">+ <div className="pl-4 grid h-7 min-w-0 items-center overflow-hidden"><divaria-hidden={condensed}inert={condensed}diff --git a/apps/web/src/components/pullRequest/PullRequestRow.tsx b/apps/web/src/components/pullRequest/PullRequestRow.tsxindex 14b03131473..e209ed01830 100644--- a/apps/web/src/components/pullRequest/PullRequestRow.tsx+++ b/apps/web/src/components/pullRequest/PullRequestRow.tsx@@ -116,7 +116,7 @@ function PullRequestRowImpl({{/* The conflict warning rides the corner of the lifecycle glyph, over the arrow'smerge circle, so the leading slot stays one icon wide and titles line up whether ornot a row is blocked. The background fill cuts it out of the glyph beneath. */}- <span className="relative inline-flex shrink-0">+ <span className="relative inline-flex self-start mt-0.75 shrink-0"><PullRequestStateGlyph state={entry.state} isDraft={entry.isDraft} />{/* The wrapper takes the offset, not the icon, so the tooltip trigger inside keeps thebadge's size and anchors the popup to it. */}