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:
parent
6594c60797
commit
b8f7ce7ecb
|
@ -190,7 +190,7 @@
|
||||||
|
|
||||||
<content>
|
<content>
|
||||||
<xul:vbox xbl:inherits="flex">
|
<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: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:hbox>
|
||||||
<xul:linksbox id="links" flex="1"/>
|
<xul:linksbox id="links" flex="1"/>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
/* Don't collapse blank note parent labels, since it prevents access to parent */
|
||||||
|
#citeLabel
|
||||||
|
{
|
||||||
|
min-height: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
#citeLabel:hover
|
#citeLabel:hover
|
||||||
{
|
{
|
||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user