diff --git a/chrome/content/zotero/bindings/relatedbox.xml b/chrome/content/zotero/bindings/relatedbox.xml index cc2576c80..975c46066 100644 --- a/chrome/content/zotero/bindings/relatedbox.xml +++ b/chrome/content/zotero/bindings/relatedbox.xml @@ -107,6 +107,7 @@ related = Zotero.Items.get(related); for (var i = 0; i < related.length; i++) { var icon= document.createElement("image"); + icon.className = "zotero-box-icon"; var type = Zotero.ItemTypes.getName(related[i].itemTypeID); if (type=='attachment') { @@ -132,6 +133,7 @@ icon.setAttribute('src','chrome://zotero/skin/treeitem-' + type + '.png'); var label = document.createElement("label"); + label.className = "zotero-box-label"; label.setAttribute('value', related[i].getDisplayTitle()); label.setAttribute('crop','end'); label.setAttribute('flex','1'); @@ -284,7 +286,7 @@ - +