Making WordPress.org

Changeset 4068


Ignore:
Timestamp:
09/14/2016 10:27:26 PM (7 years ago)
Author:
coffee2code
Message:

WordPress.tv: Ensure width and height rules intended for video thumbnails apply only to video thumbnails.

Otherwise, the rules were also being misapplied to emoji images.

Examples (views of same video):

Props SergeyBiryukov.
Fixes #2019.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/style.css

    r2333 r4068  
    21452145}
    21462146
    2147 .wptv-hero .secondary-videos img {
     2147.wptv-hero .secondary-videos .video-thumbnail img {
    21482148    width: 130px;
    21492149    height: 75px;
     
    21682168    min-height: 220px;
    21692169    margin-bottom: 20px;
    2170 }
    2171 
    2172 .video-list li img {
    2173     width: 100%;
    2174     min-height: 100px;
    21752170}
    21762171
     
    21842179    overflow: hidden;
    21852180    position: relative;
     2181}
     2182
     2183.video-list li .video-thumbnail img {
     2184    width: 100%;
     2185    min-height: 100px;
    21862186}
    21872187
Note: See TracChangeset for help on using the changeset viewer.