From e361b1c16f77918c65730d265661f15c451c2b0d Mon Sep 17 00:00:00 2001 From: j Date: Thu, 18 Feb 2021 17:54:07 +0100 Subject: [PATCH] use iconWidth --- static/js/documentInfoView.leftovers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/documentInfoView.leftovers.js b/static/js/documentInfoView.leftovers.js index d24d095..55f793d 100644 --- a/static/js/documentInfoView.leftovers.js +++ b/static/js/documentInfoView.leftovers.js @@ -175,7 +175,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { position: 'absolute', left: margin + 'px', top: margin + iconHeight + margin + 'px', - width: iconSize + 'px', + width: iconWidth + 'px', }) .appendTo($left); @@ -840,6 +840,9 @@ pandora.ui.documentInfoView = function(data, isMixed) { $text.animate({ left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px' }, 250); + $data.animate({ + width: iconWidth + 'px' + }, 250); pandora.UI.set({infoIconSize: iconSize}); }