mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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: http://core.svn.wordpress.org/trunk@22983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
787e7f8347
commit
db0ef72326
@ -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