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

See #27893.


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


git-svn-id: http://core.svn.wordpress.org/trunk@28015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-04-22 20:29:14 +00:00
parent 0b1272e445
commit 6deb34ebb3
2 changed files with 10 additions and 8 deletions

View File

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

View File

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