Ticket #29141: 29141.2.diff
File 29141.2.diff, 1.5 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/media.css
456 456 } 457 457 458 458 .upload-php .mode-grid .media-sidebar { 459 z-index: 1900; 460 top: 102px; 461 bottom: auto; 462 background: #fff; 459 position: relative; 460 width: 96%; 461 padding: 16px; 463 462 border-left: none; 464 padding: 16px;465 -webkit-box-shadow: -1px 0 1px rgba(0,0,0,.3);466 box-shadow: -1px 0 1px rgba(0,0,0,.3);467 463 } 468 464 469 465 .upload-php .mode-grid .hide-sidebar .media-sidebar { … … 473 469 .upload-php .mode-grid .media-sidebar .media-uploader-status { 474 470 border-bottom: none; 475 471 padding-bottom: 0; 472 max-width: 100%; 476 473 } 477 474 478 475 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors { -
src/wp-includes/js/media-views.js
5749 5749 this.listenTo( this.controller, 'toggle:upload:attachment', _.bind( this.toggleUploader, this ) ); 5750 5750 5751 5751 this.createToolbar(); 5752 if ( this.options.sidebar ) { 5753 this.createSidebar(); 5754 } 5752 5755 this.createUploader(); 5753 5756 this.createAttachments(); 5754 5757 this.updateContent(); 5755 if ( this.options.sidebar ) {5756 this.createSidebar();5757 }5758 5758 5759 5759 if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) { 5760 5760 this.$el.addClass( 'hide-sidebar' );