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: http://core.svn.wordpress.org/trunk@24948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f66e1e4a69
commit
6861353737
|
@ -8,4 +8,8 @@
|
|||
|
||||
.mejs-controls .mejs-time-rail .mejs-time-current {
|
||||
background: #d54e21;
|
||||
}
|
||||
}
|
||||
|
||||
.me-cannotplay {
|
||||
width: auto !important;
|
||||
}
|
||||
|
|
|
@ -910,6 +910,7 @@ function wp_audio_shortcode( $attr ) {
|
|||
'loop' => $loop,
|
||||
'autoplay' => $autoplay,
|
||||
'preload' => $preload,
|
||||
'style' => 'width: 100%',
|
||||
);
|
||||
|
||||
// These ones should just be omitted altogether if they are blank
|
||||
|
|
Loading…
Reference in New Issue