set width of description, fixes #441
This commit is contained in:
parent
305dcf1209
commit
30daeae0ed
1 changed files with 4 additions and 2 deletions
|
@ -102,7 +102,8 @@ pandora.ui.infoView = function(data) {
|
||||||
.css({
|
.css({
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: margin + 'px',
|
left: margin + 'px',
|
||||||
top: margin + iconHeight + margin + 'px'
|
top: margin + iconHeight + margin + 'px',
|
||||||
|
width: iconSize + 'px',
|
||||||
})
|
})
|
||||||
.appendTo($left),
|
.appendTo($left),
|
||||||
|
|
||||||
|
@ -729,7 +730,8 @@ pandora.ui.infoView = function(data) {
|
||||||
height: iconSize / 2 + 'px'
|
height: iconSize / 2 + 'px'
|
||||||
}, 250);
|
}, 250);
|
||||||
$data.animate({
|
$data.animate({
|
||||||
top: margin + iconHeight + margin + 'px'
|
top: margin + iconHeight + margin + 'px',
|
||||||
|
width: iconSize + 'px',
|
||||||
}, 250);
|
}, 250);
|
||||||
$center.animate({
|
$center.animate({
|
||||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
||||||
|
|
Loading…
Reference in a new issue