commit 7179712909844a7ec2c8c4eb3e0ccaeee7ababff
parent 2c014a9af1160d4a192eb89a24466009225a3edf
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date: Thu, 3 Nov 2016 13:54:42 +0200
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;";
}
}