diff --git wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php
index ad8d449a6..e71244afe 100644
|
|
|
class Reviews { |
| 36 | 36 | <?php echo get_avatar( get_the_author_meta( 'ID' ), 60 ); ?> |
| 37 | 37 | </div><div class="review"> |
| 38 | 38 | <header> |
| 39 | | <h3 class="review-title"><a class="url" href="<?php echo esc_url( 'https://wordpress.org/support/topic/' . $review->post_name . '/' ); ?>"><?php echo get_the_title( $review ); ?></a></h3> |
| 40 | | <?php echo Template::dashicons_stars( $review->post_rating ); ?> |
| 41 | | <span class="review-author author vcard"><?php the_author_posts_link(); ?></span> |
| | 39 | <div class="header-top"> |
| | 40 | <?php echo Template::dashicons_stars( $review->post_rating ); ?> |
| | 41 | <h3 class="review-title"><a class="url" href="<?php echo esc_url( 'https://wordpress.org/support/topic/' . $review->post_name . '/' ); ?>"><?php echo get_the_title( $review ); ?></a></h3> |
| | 42 | </div> |
| | 43 | <div class="header-bottom"> |
| | 44 | <span class="review-author author vcard"><?php the_author_posts_link(); ?></span> |
| | 45 | <span class="review-date"><?php echo date_i18n( 'F j, Y', strtotime( $review->post_modified ) ); ?></span> |
| | 46 | </div> |
| 42 | 47 | </header> |
| 43 | 48 | <div class="review-content"><?php echo wp_strip_all_tags(get_the_content()); ?></div> |
| 44 | 49 | </div> |
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/reviews/style.scss wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/reviews/style.scss
index a4323e2cf..59fa9a273 100644
|
|
|
|
| 11 | 11 | &:first-child { |
| 12 | 12 | margin-top: 0; |
| 13 | 13 | } |
| | 14 | .header-top { |
| | 15 | display: flex; |
| | 16 | .wporg-ratings { |
| | 17 | flex-shrink: 0; |
| | 18 | } |
| | 19 | } |
| | 20 | |
| | 21 | .header-bottom { |
| | 22 | display: flex; |
| | 23 | margin-bottom: 12px; |
| | 24 | } |
| 14 | 25 | } |
| 15 | 26 | |
| 16 | 27 | .review-avatar { |
| … |
… |
|
| 32 | 43 | font-size: ms( 0 ); |
| 33 | 44 | font-weight: 600; |
| 34 | 45 | letter-spacing: 0.01rem; |
| 35 | | margin: 0 0 0.5rem; |
| | 46 | margin: 0 0 8px 12px; |
| 36 | 47 | text-transform: inherit; |
| | 48 | line-height: 1.25; |
| 37 | 49 | } |
| 38 | 50 | |
| 39 | | .review-author { |
| | 51 | .review-date{ |
| | 52 | margin-left: 12px; |
| | 53 | color: #999; |
| | 54 | font-size: 0.9em; |
| | 55 | } |
| | 56 | |
| | 57 | .review-author, .review-date { |
| 40 | 58 | line-height: 1.25; |
| 41 | | margin-left: 10px; |
| | 59 | font-size: 0.9em; |
| 42 | 60 | } |
| 43 | 61 | |
| 44 | 62 | @media screen and ( min-width: $ms-breakpoint ) { |
| … |
… |
|
| 59 | 77 | margin: 0; |
| 60 | 78 | } |
| 61 | 79 | |
| 62 | | .review-author { |
| | 80 | .review-author, .review-date { |
| 63 | 81 | line-height: 1; |
| 64 | 82 | } |
| 65 | 83 | } |