Changeset 52993 – WordPress Trac (original) (raw)

Timestamp:

03/25/2022 09🔞45 PM (4 years ago)

audrasjb

Message:

Twenty Nineteen: Override flex order in comment form.

This change updates Twenty Nineteen bundled theme to fix the DOM order in the comment form, and to add a new .comment-form-wrapper class to change flex display to block for this specific area.

Props garrett-eclipse, audrasjb, sabernhardt.
Fixes #46600.

Location:

trunk/src/wp-content/themes/twentynineteen

Files:

Legend:

Unmodified

Added

Removed

r47122 r52993
62 62 }
63 63 ?>
64
64
65 65 <?php
66 66 if ( have_comments() ) :
102 102 if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) :
103 103 ?>
104
105 <span class="screen-reader-text"></span>
104
105

</h2>

106 106
107

108 107
109 108 <?php
r50365 r52993
113 113 }
114 114 }
115 }
116
117 .comment-form-wrapper,
118 .comment-form-wrapper .comments-title {
119 display: block;
115 120 }
116 121
r52927 r52993
4694 4694 }
4695 4695
4696 .comment-form-wrapper,
4697 .comment-form-wrapper .comments-title {
4698 display: block;
4699 }
4700
4696 4701 .comment-list {
4697 4702 list-style: none;
r52927 r52993
4700 4700 }
4701 4701
4702 .comment-form-wrapper,
4703 .comment-form-wrapper .comments-title {
4704 display: block;
4705 }
4706
4702 4707 .comment-list {
4703 4708 list-style: none;

Note: See TracChangeset for help on using the changeset viewer.