From 292bc6114eb1b68a5b7bb155713c1d3f7b384dd2 Mon Sep 17 00:00:00 2001 From: koksnuss Date: Tue, 19 May 2020 15:12:47 +0200 Subject: [PATCH] #30 decrease word breaking count --- 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 22e0185..8e07a6f 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) <= 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 {