Set audio player to width: 100% and avoid breaking the layout in iOS when we fall back to a link.
props markjaquith, davidjlaietta. fixes #24896. git-svn-id: https://develop.svn.wordpress.org/trunk@24948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
86708be8a6
commit
ada99c68f8
|
@ -8,4 +8,8 @@
|
||||||
|
|
||||||
.mejs-controls .mejs-time-rail .mejs-time-current {
|
.mejs-controls .mejs-time-rail .mejs-time-current {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.me-cannotplay {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
|
|
@ -910,6 +910,7 @@ function wp_audio_shortcode( $attr ) {
|
||||||
'loop' => $loop,
|
'loop' => $loop,
|
||||||
'autoplay' => $autoplay,
|
'autoplay' => $autoplay,
|
||||||
'preload' => $preload,
|
'preload' => $preload,
|
||||||
|
'style' => 'width: 100%',
|
||||||
);
|
);
|
||||||
|
|
||||||
// These ones should just be omitted altogether if they are blank
|
// These ones should just be omitted altogether if they are blank
|
||||||
|
|
Loading…
Reference in New Issue