mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix stats size on osx
This commit is contained in:
parent
bde46a94f6
commit
4fdaa1ec79
1 changed files with 4 additions and 1 deletions
|
@ -350,6 +350,9 @@ class DeckStats(object):
|
|||
return "<tr><td>%s</td><td align=right>%s</td></tr>" % (a, b)
|
||||
if existing and avgInt:
|
||||
html += _("<b>Averages</b><br>")
|
||||
if sys.platform.startswith("darwin"):
|
||||
html += "<table width=250>"
|
||||
else:
|
||||
html += "<table width=200>"
|
||||
html += tr(_("Interval"), _("<b>%0.0f</b> days") % avgInt)
|
||||
html += tr(_("Average reps"), _("<b>%0.1f</b> cards/day") % (
|
||||
|
|
Loading…
Reference in a new issue