Media: Prevent the compat view from wrapping around the attachment details. Allow the filename to break-word. props koopersmith, SergeyBiryukov. fixes #22667.
git-svn-id: https://develop.svn.wordpress.org/trunk@22983 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
40e9cce21d
commit
86a0b9ad45
@ -258,8 +258,7 @@
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.attachment-info .details,
|
||||
.attachment-info .compat-meta {
|
||||
.attachment-info .details {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
@ -1173,6 +1173,7 @@
|
||||
.attachment-info .filename {
|
||||
font-weight: bold;
|
||||
color: #464646;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.attachment-info .thumbnail {
|
||||
@ -1216,10 +1217,7 @@
|
||||
.attachment-info .details {
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.attachment-info .compat-meta {
|
||||
float: left;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.attachment-info .delete-attachment a {
|
||||
|
@ -1685,11 +1685,11 @@ function wp_print_media_templates() {
|
||||
<a href="#"><?php _e( 'Delete Permanently' ); ?></a>
|
||||
</div>
|
||||
<# } #>
|
||||
</div>
|
||||
<div class="compat-meta">
|
||||
<# if ( data.compat && data.compat.meta ) { #>
|
||||
{{{ data.compat.meta }}}
|
||||
<# } #>
|
||||
<div class="compat-meta">
|
||||
<# if ( data.compat && data.compat.meta ) { #>
|
||||
{{{ data.compat.meta }}}
|
||||
<# } #>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user