Fix QuickFormat sizing
This commit is contained in:
parent
d0feaa49cf
commit
a0243a24d9
|
@ -757,13 +757,11 @@ var Zotero_QuickFormat = new function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!referenceHeight && firstReference) {
|
if(!referenceHeight && firstReference) {
|
||||||
referenceHeight = firstReference.scrollHeight;
|
referenceHeight = firstReference.scrollHeight + 1;
|
||||||
if(firstReference === referenceBox.lastChild) referenceHeight += 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!separatorHeight && firstSeparator) {
|
if(!separatorHeight && firstSeparator) {
|
||||||
separatorHeight = firstSeparator.scrollHeight;
|
separatorHeight = firstSeparator.scrollHeight + 1;
|
||||||
if(firstSeparator === referenceBox.lastChild) separatorHeight += 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!panelFrameHeight) {
|
if(!panelFrameHeight) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user