refactor(web): every textarea caps its growth; the diff comment box is a Textarea (#13036)
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
d7736e06b6
commit
da89e102f8
6 files changed
+5
-10
No files matched your search
@@ -85,7 +85,6 @@ export function PullRequestCommentForm({
|
||||
<div className="space-y-2">
|
||||
<Textarea
|
||||
ref={textareaRef}
|
||||
className="[&_textarea]:max-h-64"
|
||||
// Locked while posting: the body is cleared on success, which would otherwise throw
|
||||
// away a new draft typed while the request was still in flight.
|
||||
disabled={submitting !== null || actionPending}
|
||||
|
||||
@@ -126,7 +126,6 @@ export function PullRequestReviewForm({
|
||||
<Textarea
|
||||
ref={textareaRef}
|
||||
rows={3}
|
||||
className="[&_textarea]:max-h-64"
|
||||
value={body}
|
||||
placeholder={
|
||||
requestChangesSummaryRequired && verdicts.includes("request-changes")
|
||||
|
||||
Reference in new issue
Block a user