Make WordPress Core

Ticket #29606: 29606.2.patch

File 29606.2.patch, 1.2 KB (added by azaozz, 10 years ago)
  • src/wp-includes/css/media-views.css

     
    14261426}
    14271427
    14281428.media-selection .attachment {
    1429         width: 48px;
     1429        width: 40px;
    14301430        padding: 0;
    1431         margin: 0;
     1431        margin: 4px;
    14321432        -webkit-box-shadow: none;
    14331433        box-shadow: none;
    14341434}
    14351435
    14361436.media-selection .attachment .thumbnail {
    1437         top: 4px;
    1438         right: 4px;
    1439         bottom: 4px;
    1440         left: 4px;
     1437        top: 0;
     1438        right: 0;
     1439        bottom: 0;
     1440        left: 0;
    14411441}
    14421442
    14431443.media-selection .attachment .icon {
  • src/wp-includes/js/media-views.js

     
    55035503                                // If the `collection` has a `comparator`, disable sorting.
    55045504                                disabled: !! collection.comparator,
    55055505
    5506                                 // Prevent attachments from being dragged outside the bounding
    5507                                 // box of the list.
    5508                                 containment: this.$el,
    5509 
    55105506                                // Change the position of the attachment as soon as the
    55115507                                // mouse pointer overlaps a thumbnail.
    55125508                                tolerance: 'pointer',