diff --git a/packages/block-library/src/post-comments-form/style.scss b/packages/block-library/src/post-comments-form/style.scss index 43a6007424d35..3df620b80f9b8 100644 --- a/packages/block-library/src/post-comments-form/style.scss +++ b/packages/block-library/src/post-comments-form/style.scss @@ -41,13 +41,15 @@ padding: calc(0.667em + 2px); // The extra 2px is added to match outline buttons. } - .comment-form-comment textarea { - display: block; - box-sizing: border-box; - width: 100%; + .comment-form { + textarea, + input:not([type="submit"]):not([type="checkbox"]) { + display: block; + box-sizing: border-box; + width: 100%; + } } - .comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url { diff --git a/packages/block-library/src/post-comments/style.scss b/packages/block-library/src/post-comments/style.scss index 0cdfb9e093503..8f72ab3ebc855 100644 --- a/packages/block-library/src/post-comments/style.scss +++ b/packages/block-library/src/post-comments/style.scss @@ -64,9 +64,13 @@ } } - .comment-form-comment textarea { - box-sizing: border-box; - width: 100%; + .comment-form { + textarea, + input:not([type="submit"]):not([type="checkbox"]) { + display: block; + box-sizing: border-box; + width: 100%; + } } .comment-form-cookies-consent {