WordPress.org

Make WordPress Core

Ticket #15925: 15925.4.patch

File 15925.4.patch, 946 bytes (added by SergeyBiryukov, 8 months ago)
  • wp-admin/css/wp-admin.css

     
    34043404.customlinkdiv div.tabs-panel, 
    34053405.posttypediv div.tabs-panel, 
    34063406.taxonomydiv div.tabs-panel { 
     3407        min-height: 42px; 
    34073408        max-height: 200px; 
    34083409        overflow: auto; 
    34093410        padding: 0 0.9em; 
  • wp-admin/js/post.js

     
    355355                                $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).prop( 'checked', c ); 
    356356                }); 
    357357 
     358                var maxTabHeight = -1; 
     359                var tabs = $(this).find('.tabs-panel'); 
     360                tabs.each( function() { 
     361                        maxTabHeight = Math.max( maxTabHeight, $(this).height() ); 
     362                }); 
     363                tabs.css('height', maxTabHeight); 
     364 
    358365        }); // end cats 
    359366 
    360367        // Custom Fields