fix(web): align pull request state glyph to top of row (#11268)
This commit is contained in:
1 parent
d6f291303d
commit
599c9776eb
2 files changed
+2
-2
No files matched your search
@@ -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">
|
||||
<div
|
||||
aria-hidden={condensed}
|
||||
inert={condensed}
|
||||
|
||||
@@ -116,7 +116,7 @@ function PullRequestRowImpl({
|
||||
{/* The conflict warning rides the corner of the lifecycle glyph, over the arrow's
|
||||
merge circle, so the leading slot stays one icon wide and titles line up whether or
|
||||
not 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 the
|
||||
badge's size and anchors the popup to it. */}
|
||||
|
||||
Reference in new issue
Block a user