Fix box scrolling
This commit is contained in:
parent
a439456f05
commit
c0f3e3c425
|
@ -730,12 +730,10 @@ var Zotero_QuickFormat = new function () {
|
|||
}
|
||||
}
|
||||
|
||||
var qfeHeight = qfe.scrollHeight;
|
||||
|
||||
if(qfeHeight > 30) {
|
||||
if(qfe.scrollHeight > 30) {
|
||||
qfe.setAttribute("multiline", true);
|
||||
qfs.setAttribute("multiline", true);
|
||||
qfs.style.height = (4+qfeHeight)+"px";
|
||||
qfs.style.height = (4+qfe.scrollHeight)+"px";
|
||||
window.sizeToContent();
|
||||
} else {
|
||||
delete qfs.style.height;
|
||||
|
|
|
@ -114,6 +114,9 @@
|
|||
border-color: #a8c0ec;
|
||||
padding: 0 6px 0 6px;
|
||||
margin: -1px 2px 0 2px;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
line-height: normal;
|
||||
-moz-user-select: all;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user