Making WordPress.org


Ignore:
Timestamp:
09/14/2016 03:54:05 PM (10 years ago)
Author:
coffee2code
Message:

Support Forums: Add more column width to the 'Average Rating' section.

The annexed space was unused. This is only apparent to logged-out visitors, being the only time the extra width gets utilized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php

    r4057 r4058  
    161161                ?>
    162162        </div>
    163         <div class="col-3">
     163        <div class="col-5">
    164164                <div style="font-weight:bold;"><?php _e( 'Average Rating', 'wporg-forums' ); ?></div>
    165165                <?php echo \WPORG_Ratings::get_dashicons_stars( $this->avg_rating ); ?><?php echo sprintf( __( '%s out of <span itemprop="bestRating">5</span> stars', 'wporg-forums' ), round( isset( $this->avg_rating ) ? $this->avg_rating : 0, 1 ) ); ?>
     
    179179                ?>
    180180                </div>
    181         </div>
    182         <div class="col-1">
    183181        </div>
    184182        <?php
Note: See TracChangeset for help on using the changeset viewer.