Changeset 39213
- Timestamp:
- 11/13/2016 04:38:06 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r38626 r39213 770 770 .edit-attachment-frame .attachment-media-view .details-image { 771 771 display: block; 772 margin -bottom:16px;772 margin: 0 auto 16px; 773 773 max-width: 100%; 774 774 max-height: 90%; 775 775 max-height: -webkit-calc( 100% - 42px ); 776 776 max-height: calc( 100% - 42px ); /* leave space for actions underneath */ 777 } 778 779 .edit-attachment-frame .attachment-media-view .attachment-actions { 780 text-align: center; 777 781 } 778 782 -
trunk/src/wp-includes/media-template.php
r38949 r39213 326 326 <# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #> 327 327 <button type="button" class="button edit-attachment"><?php _e( 'Edit Image' ); ?></button> 328 <# } else if ( 'pdf' === data.subtype && data.sizes ) { #> 329 <?php _e( 'Document Preview' ); ?> 328 330 <# } #> 329 331 </div>
Note: See TracChangeset
for help on using the changeset viewer.