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
This commit is contained in:
Adomas Venčkauskas 2016-11-03 13:54:42 +02:00
parent 2c014a9af1
commit 7179712909

View file

@ -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;";
}
}