adjust width

This commit is contained in:
j 2021-02-18 17:56:38 +01:00
parent e361b1c16f
commit 41ad2c0530

View file

@ -841,7 +841,8 @@ pandora.ui.documentInfoView = function(data, isMixed) {
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px' left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px'
}, 250); }, 250);
$data.animate({ $data.animate({
width: iconWidth + 'px' top: margin + iconHeight + margin + 'px',
width: (iconSize == 256 ? iconSize : iconWidth) + 'px'
}, 250); }, 250);
pandora.UI.set({infoIconSize: iconSize}); pandora.UI.set({infoIconSize: iconSize});
} }