Make WordPress Core

Changeset 27742


Ignore:
Timestamp:
03/26/2014 04:50:52 PM (11 years ago)
Author:
wonderboymusic
Message:

Make the CSS selector for current playlist item <img> more specific so the width is properly constrained.

Hide the <audio> element in the playlist to prevent a flicker when loading - MEjs hides the audio element anyway.

See #27525.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r27608 r27742  
    6464}
    6565
    66 .wp-playlist audio,
    6766.wp-playlist video {
    6867    display: inline-block;
    6968    max-width: 100%;
     69}
     70
     71.wp-playlist audio {
     72    display: none;
    7073}
    7174
     
    158161}
    159162
    160 .wp-playlist-current-item img {
     163.wp-playlist .wp-playlist-current-item img {
    161164    float: left;
    162165    max-width: 60px;
Note: See TracChangeset for help on using the changeset viewer.