WordPress.org

Make WordPress Core

Ticket #27423: 27423.19.patch

File 27423.19.patch, 1.4 KB (added by iseulde, 6 years ago)
  • src/wp-includes/css/media-views.css

     
    14311431/**
    14321432 * Spinner
    14331433 */
    1434 
    14351434.media-frame .spinner {
    14361435        background: url(../images/spinner.gif) no-repeat;
    14371436        -webkit-background-size: 20px 20px;
     
    16531652/**
    16541653 * Image Editor
    16551654 */
    1656 
    16571655.media-modal .imgedit-wrap {
    16581656        position: static;
    16591657}
     
    21382136        font-family: Arial, sans-serif;
    21392137}
    21402138
    2141 
    2142 
    2143 
    21442139@media only screen and (max-width: 960px) {
    21452140        .media-frame-content .media-toolbar-primary .search,
    21462141        .media-frame-content .media-toolbar-secondary .attachment-filters {
  • src/wp-includes/js/media-views.js

     
    47984798                arrowEvent: function( event ) {
    47994799                        var attachment = $('.attachments-browser .attachment'),
    48004800                                attachmentsWidth = $('.attachments-browser .attachments').width(),
    4801                                 thumbnailWidth = attachment.first().width(),
     4801                                thumbnailWidth = attachment.first().outerWidth(),
    48024802                                thumbnailsPerRow = Math.round( attachmentsWidth / thumbnailWidth ),
    48034803                                totalThumnails = attachment.length,
    48044804                                totalRows = Math.ceil(totalThumnails/thumbnailsPerRow),