WordPress.org

Make WordPress Core

Ticket #4294: widgets.php.diff

File widgets.php.diff, 519 bytes (added by ojuan, 7 years ago)
  • widgets.php

     
    9292                var y2 = Position.cumulativeOffset(pd)[1] + pd.offsetHeight; 
    9393                var dy = y1 - y2; 
    9494                pd.style.height = (pd.offsetHeight + dy + 9) + "px"; 
     95                p.style.width = (pd.offsetWidth-12) + "px"; 
     96                p.style.height = (y1 - Position.cumulativeOffset(p)[1] + 4) + "px"; 
    9597        } 
    9698        function maxHeight(elm) { 
    9799                htmlheight = document.body.parentNode.clientHeight;