mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix field content showing under editor buttons
This commit is contained in:
parent
331239de05
commit
51a0e5fa4b
2 changed files with 6 additions and 3 deletions
|
@ -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"])
|
||||
|
|
|
@ -33,7 +33,7 @@ body {
|
|||
top: 0;
|
||||
padding: 2px;
|
||||
left: 0;
|
||||
right: 0
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.topbut {
|
||||
|
|
Loading…
Reference in a new issue