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.


Built from https://develop.svn.wordpress.org/trunk@27742


git-svn-id: http://core.svn.wordpress.org/trunk@27579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-03-26 16:51:16 +00:00
parent 457b47d229
commit 0c34f4f136
1 changed files with 5 additions and 2 deletions

View File

@ -63,12 +63,15 @@
line-height: 160%;
}
.wp-playlist audio,
.wp-playlist video {
display: inline-block;
max-width: 100%;
}
.wp-playlist audio {
display: none;
}
.wp-playlist .mejs-container {
margin: 0;
width: 100%;
@ -157,7 +160,7 @@
height: 60px;
}
.wp-playlist-current-item img {
.wp-playlist .wp-playlist-current-item img {
float: left;
max-width: 60px;
height: auto;