further tune/decrease character limit
This commit is contained in:
parent
7c87d4d41f
commit
fb90ab24f4
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user