Index: widgets.php
===================================================================
--- widgets.php	(revision 5662)
+++ widgets.php	(working copy)
@@ -92,6 +92,8 @@
 		var y2 = Position.cumulativeOffset(pd)[1] + pd.offsetHeight;
 		var dy = y1 - y2;
 		pd.style.height = (pd.offsetHeight + dy + 9) + "px";
+		p.style.width = (pd.offsetWidth-12) + "px";
+		p.style.height = (y1 - Position.cumulativeOffset(p)[1] + 4) + "px";
 	}
 	function maxHeight(elm) {
 		htmlheight = document.body.parentNode.clientHeight;
