From f7d4515b98c21d9b9a12765ac3d558bae0324e78 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Sep 2020 11:39:46 +0200 Subject: train details: insert linebreaks for overlong headings --- templates/_train_details.html.ep | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 5feb8a6..f713094 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -128,6 +128,9 @@ % } % else { %= $pair->[0] +% if (length($pair->[0]) > 25) { +
+% } % } %= $pair->[1] -- cgit v1.2.3