From 98e74022480ae5166a4c9aa4430c41ed6d95fdb1 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 18 Feb 2021 17:51:49 +0100 Subject: [PATCH 1/2] plural --- config.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.jsonc b/config.jsonc index fa7a312..4bdf5ad 100644 --- a/config.jsonc +++ b/config.jsonc @@ -323,7 +323,7 @@ { "id": "movement", "operator": "+", - "title": "Social Movement", + "title": "Social Movements", "type": ["string"], "filter": true, "find": true, From e361b1c16f77918c65730d265661f15c451c2b0d Mon Sep 17 00:00:00 2001 From: j Date: Thu, 18 Feb 2021 17:54:07 +0100 Subject: [PATCH 2/2] 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}); }