Persist the Z-pane height, and default to 300px
This commit is contained in:
parent
99f7badf42
commit
5ee045d8d4
|
@ -72,8 +72,8 @@ var ZoteroPane = new function()
|
|||
|
||||
var newPane = document.createElement('hbox');
|
||||
newPane.setAttribute('id','zotero-pane');
|
||||
newPane.setAttribute('persist','height');
|
||||
newPane.setAttribute('collapsed',true);
|
||||
newPane.setAttribute('flex','1');
|
||||
newPane.height = oldPane.height;
|
||||
while(oldPane.hasChildNodes())
|
||||
newPane.appendChild(oldPane.firstChild);
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<vbox id="appcontent">
|
||||
<!-- Changes to attributes of zotero-splitter and zotero-pane must be mirrored on overlay.js's onLoad() function -->
|
||||
<splitter id="zotero-splitter" resizebefore="closest" resizeafter="closest" collapsed="true"/>
|
||||
<hbox id="zotero-pane" persist="height" collapsed="true" flex="1">
|
||||
<hbox id="zotero-pane" persist="height" collapsed="true">
|
||||
<popupset>
|
||||
<popup id="zotero-collectionmenu" onpopupshowing="ZoteroPane.buildCollectionContextMenu();">
|
||||
<menuitem label="&zotero.toolbar.newCollection.label;" command="cmd_zotero_newCollection"/>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
{
|
||||
background: #f5f5f5;
|
||||
min-height: 170px;
|
||||
height: 300px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user