further tune/decrease character limit

This commit is contained in:
koksnuss 2020-05-20 00:07:26 +02:00
parent 7c87d4d41f
commit fb90ab24f4

View File

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