Changeset 29612
- Timestamp:
- 08/26/2014 04:17:18 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r29608 r29612 457 457 458 458 .upload-php .mode-grid .media-sidebar { 459 z-index: 1900; 460 top: 102px; 461 bottom: auto; 462 background: #fff; 463 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); 459 position: relative; 460 width: auto; 461 margin-bottom: 16px; 462 padding: 0 16px; 463 border: 1px solid #c00; 464 background-color: #feebe8; 467 465 } 468 466 … … 474 472 border-bottom: none; 475 473 padding-bottom: 0; 474 max-width: 100%; 475 } 476 477 .upload-php .mode-grid .media-sidebar .upload-error { 478 margin: 20px 0; 479 padding: 0; 480 border: none; 481 background: none; 476 482 } 477 483 478 484 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors { 479 485 font-size: 0; 480 top: - 20px;481 right: -14px;486 top: -12px; 487 right: -10px; 482 488 } 483 489 … … 1196 1202 } 1197 1203 } 1204 1205 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 1206 .upload-php .mode-grid .media-sidebar{ 1207 max-width: 100%; 1208 } 1209 } -
trunk/src/wp-includes/js/media-views.js
r29609 r29612 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 ) {
Note: See TracChangeset
for help on using the changeset viewer.