Style the comment form

This commit is contained in:
Oliver Davies 2019-04-17 00:01:56 +01:00
parent 7ae5d67f93
commit c1720b90ec
3 changed files with 32 additions and 2 deletions

View file

@ -101,10 +101,10 @@ $discussion = twentynineteen_get_discussion_data();
// Show comment form at bottom if showing newest comments at the bottom.
if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) :
?>
<div class="comment-form-flex">
<div>
<span class="screen-reader-text"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></span>
<?php twentynineteen_comment_form( 'asc' ); ?>
<h2 class="comments-title" aria-hidden="true"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></h2>
<h2 class="text-3xl font-bold mt-10" aria-hidden="true"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></h2>
</div>
<?php
endif;