diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-10-14 15:45:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-10-14 15:45:10 +0200 |
commit | daa05870fd92126e64e918fcfbcf464d5118fbed (patch) | |
tree | bd50a403b699b39fab9a08b8f5f82aadea970dd4 | |
parent | aaaeec5c305ff1f8fc8813b025a3328f597cd433 (diff) |
improve undo/share button layout on small screens1.9.6
should fix #22
-rw-r--r-- | templates/_checked_in.html.ep | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 44d57dc..87b94f6 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -216,12 +216,13 @@ % } </div> <div class="card-action"> - <a class="action-undo blue-text" data-id="in_transit"> + <a class="action-undo blue-text" data-id="in_transit" style="margin-right: 0;"> <i class="material-icons left">undo</i> Rückgängig </a> % if (defined $journey->{arrival_countdown} and $journey->{arrival_countdown} <= 0) { <a class="action-checkout right" + style="margin-right: 0;" data-station="<%= $journey->{arr_name}%>"> <i class="material-icons left">done</i> Jetzt auschecken @@ -233,6 +234,7 @@ % $attrib = 'in der'; % } <a class="action-share blue-text right" + style="margin-right: 0;" data-text="Ich bin gerade <%= $attrib %> <%= $journey->{train_type} %> <%= $journey->{train_no} %> nach <%= $journey->{arr_name} %> #NowTräwelling #dbl" % if (current_user()->{is_public} & 0x02) { data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= current_user->{name} %>/<%= $journey->{sched_departure}->epoch %>" |