mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
use static width for due/new counts in deck browser
This commit is contained in:
parent
04ca160b5f
commit
a52bb91007
1 changed files with 4 additions and 2 deletions
|
@ -77,6 +77,8 @@ tr.drag-hover td { border-bottom: %(width)s solid #aaa; }
|
||||||
.extra { font-size: 90%%; }
|
.extra { font-size: 90%%; }
|
||||||
body { margin: 1em; -webkit-user-select: none; }
|
body { margin: 1em; -webkit-user-select: none; }
|
||||||
.current { background-color: #ececec; }
|
.current { background-color: #ececec; }
|
||||||
|
|
||||||
|
.count { width: 6em; text-align: right; }
|
||||||
""" % dict(width=_dragIndicatorBorderWidth)
|
""" % dict(width=_dragIndicatorBorderWidth)
|
||||||
|
|
||||||
_body = """
|
_body = """
|
||||||
|
@ -130,8 +132,8 @@ body { margin: 1em; -webkit-user-select: none; }
|
||||||
return ""
|
return ""
|
||||||
if depth == 0:
|
if depth == 0:
|
||||||
buf = """
|
buf = """
|
||||||
<tr><th colspan=5 align=left>%s</th><th align=right>%s</th>
|
<tr><th colspan=5 align=left>%s</th><th class=count>%s</th>
|
||||||
<th align=right>%s</th></tr>""" % (
|
<th class=count>%s</th><th class=count></th></tr>""" % (
|
||||||
_("Deck"), _("Due"), _("New"))
|
_("Deck"), _("Due"), _("New"))
|
||||||
buf += self._topLevelDragRow()
|
buf += self._topLevelDragRow()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue