| ... | @@ -363,7 +363,7 @@ function CommentComposer({ | ... | @@ -363,7 +363,7 @@ function CommentComposer({ |
| 363 | }; | 363 | }; |
| 364 | | 364 | |
| 365 | return ( | 365 | return ( |
| 366 | <div className="mt-3 space-y-2"> | 366 | <div className="space-y-2"> |
| 367 | <Textarea | 367 | <Textarea |
| 368 | // Locked while posting: the body is cleared on success, which would otherwise throw | 368 | // Locked while posting: the body is cleared on success, which would otherwise throw |
| 369 | // away a new draft typed while the request was still in flight. | 369 | // away a new draft typed while the request was still in flight. |
| ... | @@ -719,7 +719,7 @@ export function PullRequestSummaryTab({ | ... | @@ -719,7 +719,7 @@ export function PullRequestSummaryTab({ |
| 719 | </div> | 719 | </div> |
| 720 | </section> | 720 | </section> |
| 721 | | 721 | |
| 722 | <section aria-label="Description" className="px-4 pt-2 pb-4"> | 722 | <section aria-label="Description" className="px-4 pt-2 pb-1"> |
| 723 | <div className="group"> | 723 | <div className="group"> |
| 724 | {bodyScope === detail.url ? ( | 724 | {bodyScope === detail.url ? ( |
| 725 | <PullRequestMarkdownEditor | 725 | <PullRequestMarkdownEditor |
| ... | @@ -991,7 +991,9 @@ export function PullRequestSummaryTab({ | ... | @@ -991,7 +991,9 @@ export function PullRequestSummaryTab({ |
| 991 | )} | 991 | )} |
| 992 | </> | 992 | </> |
| 993 | )} | 993 | )} |
| 994 | {/* Posting is a core capability and remains usable even if the activity read failed. */} | 994 | </Section> |
| | 995 | <div className="px-4 pb-4"> |
| | 996 | {/* Posting stays available when the conversation is folded or its activity read failed. */} |
| 995 | {detail.capabilities.comment && detail.viewerPermissions.comment ? ( | 997 | {detail.capabilities.comment && detail.viewerPermissions.comment ? ( |
| 996 | <CommentComposer | 998 | <CommentComposer |
| 997 | reference={reference} | 999 | reference={reference} |
| ... | @@ -1009,7 +1011,7 @@ export function PullRequestSummaryTab({ | ... | @@ -1009,7 +1011,7 @@ export function PullRequestSummaryTab({ |
| 1009 | onCommented={onRefresh} | 1011 | onCommented={onRefresh} |
| 1010 | /> | 1012 | /> |
| 1011 | ) : null} | 1013 | ) : null} |
| 1012 | </Section> | 1014 | </div> |
| 1013 | </div> | 1015 | </div> |
| 1014 | ); | 1016 | ); |
| 1015 | } | 1017 | } |