I just set a min-height to not collapse the top part when it's empty. Could add the parent item type in brackets, but I don't know that it's necessary.
This commit is contained in:
Dan Stillman 2007-04-02 18:35:53 +00:00
parent 6594c60797
commit b8f7ce7ecb
2 changed files with 7 additions and 1 deletions

View File

@ -190,7 +190,7 @@
<content>
<xul:vbox xbl:inherits="flex">
<xul:label id="citeLabel" onclick="this.parentNode.parentNode.selectParent()"/>
<xul:label id="citeLabel" onclick="document.getBindingParent(this).selectParent()"/>
<xul:textbox id="noteField" multiline="true" type="timed" timeout="1000" flex="1" onkeydown="document.getBindingParent(this).handleKeyDown(event)" oncommand="document.getBindingParent(this).save();"/>
<xul:hbox>
<xul:linksbox id="links" flex="1"/>

View File

@ -1,3 +1,9 @@
/* Don't collapse blank note parent labels, since it prevents access to parent */
#citeLabel
{
min-height: 1.25em;
}
#citeLabel:hover
{
cursor: pointer !important;