Make WordPress Core

Changeset 29959


Ignore:
Timestamp:
10/18/2014 07:42:12 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Theme install:

  • Move the "based on" string below the rating to avoid wrapping to a second line.
  • Reduce the gap between the theme screenshot and description.
  • Fix Install button height on mobile.

props obenland, ocean90.
fixes #28148. see #29556.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/themes.css

    r29924 r29959  
    11671167
    11681168.rating {
    1169     margin: 30px 0;
     1169    margin: 15px 0 0;
    11701170}
    11711171.rating span:before {
     
    12221222}
    12231223.rating .ratings {
    1224     display: inline;
    1225     margin-left: 10px;
     1224    display: block;
    12261225    line-height: 20px;
    12271226    color: #999;
     
    17401739        width: 100%;
    17411740    }
    1742 }
     1741
     1742    .theme-install-overlay .wp-full-overlay-header .theme-install {
     1743        margin-top: 6px;
     1744        line-height: normal;
     1745    }
     1746}
  • trunk/src/wp-admin/theme-install.php

    r29904 r29959  
    244244                        <span class="five"></span>
    245245                    <# if ( data.num_ratings ) { #>
    246                         <p class="ratings">{{ data.num_ratings }}</p>
     246                        <small class="ratings">{{ data.num_ratings }}</small>
    247247                    <# } else { #>
    248                         <p class="ratings"><?php _e( 'No ratings.' ); ?></p>
     248                        <small class="ratings"><?php _e( 'No ratings.' ); ?></small>
    249249                    <# } #>
    250250                    </div>
Note: See TracChangeset for help on using the changeset viewer.