summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-07-17 15:28:42 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-07-17 15:28:42 +0200
commitc81d471728888794c012a74fbb2c85b235dcfc09 (patch)
tree8da8da9d7eb91f7b52f8fe36b0ff2f75b364aff3
parent19cd9f7a8d888302d8637af897d407fc34bab522 (diff)
_checked_in: adjust margins for timeline link
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 2e8b163..831e118 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -305,7 +305,7 @@
%= include '_timeline_link', timeline => stash('timeline'), from_checkin => 1
% }
% if ($journey->{arr_name}) {
- <div class="card" style="margin-top: 3em;">
+ <div class="card" style="margin-top: <%= scalar @{stash('timeline') // []} ? '1.5rem' : '3em' %>;">
<div class="card-content">
<span class="card-title">Details</span>
% if (@{$journey->{extra_data}{him_msg} // []}) {