Changeset 29517
- Timestamp:
- 08/17/2014 02:02:16 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/media-views.css
r29504 r29517 2601 2601 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 2602 2602 position: fixed; 2603 top: 12px;2603 top: 32px; 2604 2604 left: auto; 2605 2605 right: 20px; 2606 } 2606 margin-top: 0; 2607 } 2608 2609 @media only screen and ( max-width: 782px ) { 2610 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 2611 top: 46px; 2612 right: 10px; 2613 } 2614 } 2615 2616 @media only screen and (max-width: 600px) { 2617 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 2618 top: 0; 2619 } 2620 } 2621 2607 2622 2608 2623 .media-frame.mode-grid input[type="search"] { -
trunk/src/wp-includes/js/media-grid.js
r29494 r29517 68 68 this.$window = $( window ); 69 69 this.$adminBar = $( '#wpadminbar' ); 70 this.$window.on( 'scroll ', _.debounce( _.bind( this.fixPosition, this ), 15 ) );70 this.$window.on( 'scroll resize', _.debounce( _.bind( this.fixPosition, this ), 15 ) ); 71 71 $( document ).on( 'click', '.add-new-h2', _.bind( this.addNewClickHandler, this ) ); 72 72
Note: See TracChangeset
for help on using the changeset viewer.