diff --git a/preview-src/comment.tsx b/preview-src/comment.tsx index 52da118517..53eba6cc09 100644 --- a/preview-src/comment.tsx +++ b/preview-src/comment.tsx @@ -286,7 +286,7 @@ export function AddComment({ pendingCommentText, state }: PullRequest) { ; diff --git a/preview-src/index.css b/preview-src/index.css index a4e94dd3c6..c349e8bb2a 100644 --- a/preview-src/index.css +++ b/preview-src/index.css @@ -618,14 +618,6 @@ body .comment-form { padding: 10px 0; } -.review-comment-container #request-changes { - margin-left: auto; -} - -.review-comment-container #submit { - margin-right: 0; -} - textarea, input[type='text'] { display: block; box-sizing: border-box; @@ -679,9 +671,19 @@ textarea:focus { padding: 5px 0; } -.reply-button { +.comment-form .form-actions > button, +.comment-form .form-actions > input[type=submit] { + margin-right: 0; + margin-left: 0; +} + +.comment-form .form-actions > #request-changes { margin-left: auto; - margin-right: 0 !important; +} + +.comment-form .form-actions > #close { + margin-left: 0; + margin-right: auto; } .form-actions {