Alter the layout of the checkboxes in the modal view for Audio/Video Details to allow translations more room to breathe.

Merges [28184] to the 3.9 branch.

props wonderboymusic.
fixes #27893.

Built from https://develop.svn.wordpress.org/branches/3.9@28227


git-svn-id: http://core.svn.wordpress.org/branches/3.9@28055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-05-01 04:26:15 +00:00
parent 44c39135ab
commit f2f0f62a3e
2 changed files with 10 additions and 8 deletions

View File

@ -28,6 +28,10 @@
width: auto;
}
.media-embed-details .embed-media-settings .checkbox-setting span {
display: inline-block;
}
.media-embed-details .embed-media-settings {
padding-top: 0;
top: 28px;
@ -50,8 +54,8 @@
}
.media-embed-details .embed-media-settings .checkbox-setting {
width: 100px;
clear: none;
float: none;
margin: 0 0 10px;
}
.video-details .wp-video-holder {

View File

@ -853,15 +853,14 @@ function wp_print_media_templates() {
</div>
<label class="setting checkbox-setting">
<span><?php _e( 'Autoplay' ); ?></span>
<input type="checkbox" data-setting="autoplay" />
<span><?php _e( 'Autoplay' ); ?></span>
</label>
<label class="setting checkbox-setting">
<span><?php _e( 'Loop' ); ?></span>
<input type="checkbox" data-setting="loop" />
<span><?php _e( 'Loop' ); ?></span>
</label>
<div class="clear"></div>
</div>
</div>
</script>
@ -944,15 +943,14 @@ function wp_print_media_templates() {
</div>
<label class="setting checkbox-setting">
<span><?php _e( 'Autoplay' ); ?></span>
<input type="checkbox" data-setting="autoplay" />
<span><?php _e( 'Autoplay' ); ?></span>
</label>
<label class="setting checkbox-setting">
<span><?php _e( 'Loop' ); ?></span>
<input type="checkbox" data-setting="loop" />
<span><?php _e( 'Loop' ); ?></span>
</label>
<div class="clear"></div>
<label class="setting" data-setting="content">
<span><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></span>