diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index da4b16fe59..2e1aa5e868 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -933,7 +933,7 @@ // Switch to single-field mode if (fieldMode == 1) { - button.style.backgroundImage = `url("chrome://zotero/skin/textfield-dual${Zotero.hiDPISuffix}.png")`; + button.style.background = `url("chrome://zotero/skin/textfield-dual${Zotero.hiDPISuffix}.png") center/21px auto no-repeat`; button.setAttribute('tooltiptext', Zotero.getString('pane.item.switchFieldMode.two')); lastName.setAttribute('fieldMode', '1'); button.setAttribute('onclick', "document.getBindingParent(this).switchCreatorMode(Zotero.getAncestorByTagName(this, 'row'), 0, false, true)"); @@ -966,7 +966,7 @@ } // Switch to two-field mode else { - button.style.backgroundImage = `url("chrome://zotero/skin/textfield-single${Zotero.hiDPISuffix}.png")`; + button.style.background = `url("chrome://zotero/skin/textfield-single${Zotero.hiDPISuffix}.png") center/21px auto no-repeat`; button.setAttribute('tooltiptext', Zotero.getString('pane.item.switchFieldMode.one')); lastName.setAttribute('fieldMode', '0'); button.setAttribute('onclick', "document.getBindingParent(this).switchCreatorMode(Zotero.getAncestorByTagName(this, 'row'), 1, false, true)"); diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml index 27744256ff..4db6c61550 100644 --- a/chrome/content/zotero/bindings/tagsbox.xml +++ b/chrome/content/zotero/bindings/tagsbox.xml @@ -321,7 +321,7 @@ iconFile += '-automatic'; icon.setAttribute('tooltiptext', Zotero.getString('pane.item.tags.icon.automatic')); } - icon.setAttribute('src', 'chrome://zotero/skin/' + iconFile + '.png'); + icon.setAttribute('src', `chrome://zotero/skin/${iconFile}${Zotero.hiDPISuffix}.png`); // "-" button if (this.editable) { diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index ba4462b654..abacb25dbe 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -137,7 +137,7 @@ var ZoteroItemPane = new function() { var icon = document.createElement('image'); icon.className = "zotero-box-icon"; - icon.setAttribute('src','chrome://zotero/skin/treeitem-note.png'); + icon.setAttribute('src', `chrome://zotero/skin/treeitem-note${Zotero.hiDPISuffix}.png`); var label = document.createElement('label'); label.className = "zotero-box-label"; diff --git a/chrome/content/zotero/selectItemsDialog.xul b/chrome/content/zotero/selectItemsDialog.xul index e43ff15a26..a9b209dfdc 100644 --- a/chrome/content/zotero/selectItemsDialog.xul +++ b/chrome/content/zotero/selectItemsDialog.xul @@ -236,14 +236,12 @@ id="zotero-items-column-hasAttachment" hidden="true" class="treecol-image" label="&zotero.tabs.attachments.label;" - src="chrome://zotero/skin/attach-small.png" zotero-persist="width ordinal hidden sortActive sortDirection"/>