#30 decrease word breaking count

This commit is contained in:
koksnuss 2020-05-19 15:12:47 +02:00
parent 7f1e354efb
commit 292bc6114e

View File

@ -184,9 +184,9 @@ def show_coin(country, year, stamp, value):
name = coin.name if coin.name else ''
special_class = ''
if name:
if len(name) >= 18 and len(name) <= 52:
if len(name) >= 18 and len(name) <= 45:
special_class = 'two_lines'
elif len(name) > 53:
elif len(name) > 45:
special_class = 'three_lines'
return {