Make WordPress Core

Changeset 29876


Ignore:
Timestamp:
10/11/2014 11:23:44 PM (10 years ago)
Author:
azaozz
Message:

Media modal: fix reordering of the thumbnails while creating or editing a gallery, props avryl, fixes #29606 for trunk.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r29727 r29876  
    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;
     
    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
  • trunk/src/wp-includes/js/media-views.js

    r29831 r29876  
    55035503                // If the `collection` has a `comparator`, disable sorting.
    55045504                disabled: !! collection.comparator,
    5505 
    5506                 // Prevent attachments from being dragged outside the bounding
    5507                 // box of the list.
    5508                 containment: this.$el,
    55095505
    55105506                // Change the position of the attachment as soon as the
Note: See TracChangeset for help on using the changeset viewer.