summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-19 11:39:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-19 11:39:46 +0200
commitf7d4515b98c21d9b9a12765ac3d558bae0324e78 (patch)
tree59a284ee1e846400fbd14a44c9b2bb73d0daa21a /templates
parent1c68e7dcd6c5569569f4c320cfbd4625ec137994 (diff)
train details: insert linebreaks for overlong headings
Diffstat (limited to 'templates')
-rw-r--r--templates/_train_details.html.ep3
1 files changed, 3 insertions, 0 deletions
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) {
+ <br/>
+% }
% }
<span class="reason">
%= $pair->[1]