From fb90ab24f47e02b20fcb4ada3aa9c5efb24ec75e Mon Sep 17 00:00:00 2001 From: koksnuss Date: Wed, 20 May 2020 00:07:26 +0200 Subject: [PATCH] further tune/decrease character limit --- coinmanager/coinc/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py index 8e07a6f..ea8d10e 100644 --- a/coinmanager/coinc/views.py +++ b/coinmanager/coinc/views.py @@ -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) <= 45: + if len(name) >= 18 and len(name) <= 42: special_class = 'two_lines' - elif len(name) > 45: + elif len(name) > 42: special_class = 'three_lines' return {