From 30daeae0edbd1af768e429b3911e2e98b3e97734 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 14 Feb 2012 11:51:01 +0530 Subject: [PATCH] set width of description, fixes #441 --- static/js/pandora/infoView.padma.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index 593d014b..eb0a91bb 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -102,7 +102,8 @@ pandora.ui.infoView = function(data) { .css({ position: 'absolute', left: margin + 'px', - top: margin + iconHeight + margin + 'px' + top: margin + iconHeight + margin + 'px', + width: iconSize + 'px', }) .appendTo($left), @@ -729,7 +730,8 @@ pandora.ui.infoView = function(data) { height: iconSize / 2 + 'px' }, 250); $data.animate({ - top: margin + iconHeight + margin + 'px' + top: margin + iconHeight + margin + 'px', + width: iconSize + 'px', }, 250); $center.animate({ left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',