set width of description, fixes #441

This commit is contained in:
j 2012-02-14 11:51:01 +05:30
parent 305dcf1209
commit 30daeae0ed

View file

@ -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',