Making WordPress.org


Ignore:
Timestamp:
03/24/2020 02:43:10 AM (5 years ago)
Author:
dd32
Message:

Theme Directory: More responsive styling for the theme listing.

This should fix the stretched theme images in certain responsive sizes.

Props dufresnesteven.
Fixes #5110, #4499.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss

    r9196 r9622  
    219219
    220220.theme-browser .theme .theme-screenshot img {
     221    display: block;
     222    margin: 0 auto;
    221223    height: auto;
    222     max-height: 214px;
     224    max-height: 300px;
    223225    left: 0;
    224226    position: inherit;
     
    226228    -webkit-transform: translateZ( 0 );
    227229    transition: opacity 0.2s ease-in-out;
    228     width: 100%;
    229230}
    230231
     
    15401541}
    15411542
    1542 @media only screen and (max-width: 1120px) {
     1543@media only screen and (max-width: 865px) {
    15431544    .filter-drawer {
    15441545        border-bottom: 1px solid #eee;
     
    16521653}
    16531654
    1654 @media only screen and (max-width: 480px) {
     1655@media only screen and (max-width: 400px) {
    16551656    .theme-browser .theme {
    16561657        width: 100%;
Note: See TracChangeset for help on using the changeset viewer.