_checked_in: adjust margins for timeline link

This commit is contained in:
Birte Kristina Friesel 2023-07-17 15:28:42 +02:00
parent 19cd9f7a8d
commit c81d471728
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -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} // []}) {