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,7 +350,10 @@ class DeckStats(object):
|
||||||
return "<tr><td>%s</td><td align=right>%s</td></tr>" % (a, b)
|
return "<tr><td>%s</td><td align=right>%s</td></tr>" % (a, b)
|
||||||
if existing and avgInt:
|
if existing and avgInt:
|
||||||
html += _("<b>Averages</b><br>")
|
html += _("<b>Averages</b><br>")
|
||||||
html += "<table width=200>"
|
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(_("Interval"), _("<b>%0.0f</b> days") % avgInt)
|
||||||
html += tr(_("Average reps"), _("<b>%0.1f</b> cards/day") % (
|
html += tr(_("Average reps"), _("<b>%0.1f</b> cards/day") % (
|
||||||
self.getSumInverseRoundInterval()))
|
self.getSumInverseRoundInterval()))
|
||||||
|
|
Loading…
Reference in a new issue