- Fix iframe by just specifying a massive height for it (no, height: 100% doesn't work)

- Cancel should work as expected
This commit is contained in:
Simon Kornblith 2011-08-02 19:52:45 +00:00
parent 6566ba1682
commit c2db7b53b1
2 changed files with 6 additions and 0 deletions

View file

@ -629,6 +629,7 @@ var Zotero_QuickFormat = new function () {
this.onKeyPress = function(event) {
var keyCode = event.keyCode;
if(keyCode === event.DOM_VK_ESCAPE) {
io.citation.citationItems = [];
window.close();
}
}

View file

@ -88,6 +88,7 @@
#editor {
margin-top: 10px;
max-height: 100px;
}
.quick-format-title {
@ -134,6 +135,10 @@
padding-bottom: 0;
}
#quick-format-iframe {
height: 9999px;
}
body {
margin: 0 2px 0 2px;
padding: 0;