fix field content showing under editor buttons

This commit is contained in:
Damien Elmes 2017-08-06 13:55:09 +10:00
parent 331239de05
commit 51a0e5fa4b
2 changed files with 6 additions and 3 deletions

View file

@ -29,7 +29,10 @@ pics = ("jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp")
audio = ("wav", "mp3", "ogg", "flac", "mp4", "swf", "mov", "mpeg", "mkv", "m4a", "3gp", "spx", "oga")
_html = """
<style>html { background: %s; }</style>
<style>
html { background: %s; }
#topbuts { background: %s; }
</style>
<div id="topbuts">%s</div>
<div id="fields"></div>
<div id="dupes" style="display:none;"><a href="#" onclick="pycmd('dupes');return false;">%s</a></div>
@ -102,7 +105,7 @@ class Editor:
# then load page
html = self.web.bundledCSS("editor.css") + _html
self.web.stdHtml(html % (
bgcol,
bgcol, bgcol,
topbuts,
_("Show Duplicates")), head=self.mw.baseHTML(),
js=["jquery.js", "editor.js"])

View file

@ -33,7 +33,7 @@ body {
top: 0;
padding: 2px;
left: 0;
right: 0
right: 0;
}
.topbut {