References should not have flex

This commit is contained in:
Simon Kornblith 2011-12-31 15:44:13 +00:00
parent 485dcf143b
commit be1ffbfb76
2 changed files with 4 additions and 4 deletions

View file

@ -717,14 +717,14 @@ var Zotero_QuickFormat = new function () {
if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15,
null, false, false, null);
panelShowing = true;
referenceHeight = firstReference.scrollHeight+1;
referenceHeight = firstReference.scrollHeight;
}
if(!separatorHeight && firstSeparator) {
if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15,
null, false, false, null);
panelShowing = true;
separatorHeight = firstSeparator.scrollHeight+1;
separatorHeight = firstSeparator.scrollHeight;
}
referencePanel.sizeTo(window.outerWidth-30,

View file

@ -65,8 +65,8 @@
<progressmeter id="quick-format-progress-meter" mode="undetermined" value="0" flex="1"/>
</deck>
</windowdragbox>
<panel id="quick-format-reference-panel" noautofocus="true" norestorefocus="true" noautohide="true" height="0">
<richlistbox id="quick-format-reference-list" flex="1"/>
<panel id="quick-format-reference-panel" noautofocus="true" norestorefocus="true" noautohide="true" height="0" align="top">
<richlistbox id="quick-format-reference-list"/>
</panel>
<panel id="citation-properties" type="arrow" orient="vertical"
onkeypress="Zotero_QuickFormat.onPanelKeyPress(event)"