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:
parent
457b47d229
commit
0c34f4f136
|
@ -63,12 +63,15 @@
|
||||||
line-height: 160%;
|
line-height: 160%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-playlist audio,
|
|
||||||
.wp-playlist video {
|
.wp-playlist video {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-playlist audio {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-playlist .mejs-container {
|
.wp-playlist .mejs-container {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -157,7 +160,7 @@
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-playlist-current-item img {
|
.wp-playlist .wp-playlist-current-item img {
|
||||||
float: left;
|
float: left;
|
||||||
max-width: 60px;
|
max-width: 60px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
Loading…
Reference in New Issue