From 7179712909844a7ec2c8c4eb3e0ccaeee7ababff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 3 Nov 2016 13:54:42 +0200 Subject: [PATCH] Change padding-left to margin-left property for hanging indent Intended to fix at least Google Docs. Even the newest versions of MS Office appear to ignore both padding and margin properties --- chrome/content/zotero/xpcom/cite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index f89323136b..aefbcb970e 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -206,7 +206,7 @@ Zotero.Cite = { } // If only one field, apply hanging indent on root else if (!multiField) { - style += "padding-left: " + hangingIndent + "em; text-indent:-" + hangingIndent + "em;"; + style += "margin-left: " + hangingIndent + "em; text-indent:-" + hangingIndent + "em;"; } }