WordPress.org

Make WordPress Core

Changeset 23652


Ignore:
Timestamp:
03/08/2013 05:01:33 PM (7 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: show portrait images correctly in gallery post formats. Props obenland, fixes #23649.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/style.css

    r23651 r23652  
    15241524    height: 100%;
    15251525    max-height: 148px;
    1526     max-width: 1000%;
     1526    max-width: none;
    15271527    width: auto;
     1528}
     1529
     1530.blog .format-gallery .gallery-item .portrait img,
     1531.archive .format-gallery .gallery-item .portrait img,
     1532.search .format-gallery .gallery-item .portrait img {
     1533    height: auto;
     1534    max-height: none;
     1535    max-width: 148px;
     1536    width: 100%;
    15281537}
    15291538
     
    15391548.search .format-gallery .gallery-item:first-child img {
    15401549    max-height: 300px;
     1550}
     1551
     1552.blog .format-gallery .gallery-item:first-child .portrait img,
     1553.archive .format-gallery .gallery-item:first-child .portrait img,
     1554.search .format-gallery .gallery-item:first-child .portrait img {
     1555    max-height: none;
     1556    max-width: 300px;
    15411557}
    15421558
Note: See TracChangeset for help on using the changeset viewer.